linux/drivers/net/ethernet/intel/ixgbevf
Emil Tantilov 0333464f5f ixgbevf: fix possible crashes in probe and remove
This patch resolves couple of issues in ixgbevf_probe/remove():

1. Fix a case where adapter->state is tested after free_netdev() this is
same as the patch for ixgbe from Daniel Borkmann <dborkman@redhat.com>:
commit b5b2ffc057 ("ixgbe: fix use after free adapter->state test in ixgbe_remove/ixgbe_probe")

2. Move pci_set_drvdata() after all the error checks in ixgbevf_probe() and
then add a check in ixgbevf_probe() to avoid running the cleanup functions
twice in cases where probe failed.

CC: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-12-05 09:13:09 -08:00
..
defines.h ixgbevf: add support for X550 VFs 2014-12-05 09:13:08 -08:00
ethtool.c ixgbevf: Resolve missing-field-initializers warnings 2014-09-12 00:16:41 -07:00
ixgbevf.h ixgbevf: add support for X550 VFs 2014-12-05 09:13:08 -08:00
ixgbevf_main.c ixgbevf: fix possible crashes in probe and remove 2014-12-05 09:13:09 -08:00
Makefile ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
mbx.c ixgbevf: Fix code for handling timeout 2012-09-24 00:21:51 -07:00
mbx.h ixgbevf: Add VF DCB + SR-IOV support 2012-10-22 21:15:35 -07:00
regs.h ixgbevf: Use static inlines instead of macros 2014-03-21 01:59:48 -07:00
vf.c ixgbevf: add support for X550 VFs 2014-12-05 09:13:08 -08:00
vf.h ixgbevf: add support for X550 VFs 2014-12-05 09:13:08 -08:00