On Wed, 2014-10-15 at 11:58 +0200, Thierry Herbelot wrote: > this protects against the following panic: > (before a VF was actually created on p96p1 PF Ethernet port) > > ip link set p96p1 vf 0 spoofchk off > BUG: unable to handle kernel NULL pointer dereference at > 0000000000000052 > IP: [] ixgbe_ndo_set_vf_spoofchk+0x51/0x150 [ixgbe] > > Signed-off-by: Thierry Herbelot > --- > > v2: > compilation fixes > > v3: > remove checks in functions where vfinfo is known not to be NULL > return -EINVAL as error code > > drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 42 > ++++++++++++++++++++++-- > 1 file changed, 40 insertions(+), 2 deletions(-) Thanks Thierry, I have added this patch to my queue (and dropped your v2).