Re: [PATCH] igb: Fix null pointer dereference

2013-03-13 Thread Jeff Kirsher
On Tue, 2013-03-12 at 14:09 -0600, Alex Williamson wrote: > The max_vfs= option has always been self limiting to the number of VFs > supported by the device. fa44f2f1 added SR-IOV configuration via > sysfs, but in the process broke this self correction factor. The > failing path is: > > igb_prob

[PATCH] igb: Fix null pointer dereference

2013-03-12 Thread Alex Williamson
The max_vfs= option has always been self limiting to the number of VFs supported by the device. fa44f2f1 added SR-IOV configuration via sysfs, but in the process broke this self correction factor. The failing path is: igb_probe igb_sw_init if (max_vfs > 7) { adapter->vfs_allocated_