Files
android_kernel_xiaomi_sm8450/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
..
2014-12-05 09:13:08 -08:00
2014-12-05 09:13:08 -08:00
2012-02-03 03:07:09 -08:00
2012-09-24 00:21:51 -07:00
2012-10-22 21:15:35 -07:00
2014-12-05 09:13:08 -08:00
2014-12-05 09:13:08 -08:00