commit | ab6039a70bb559b2fb5f363934da67d864ccda2a | [log] [tgz] |
---|---|---|
author | Don Skidmore <donald.c.skidmore@intel.com> | Sat Mar 17 05:51:52 2012 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu May 03 03:02:43 2012 -0700 |
tree | 4d5530f6cd86d1f255691add0d1be18a44a20f72 | |
parent | 5a8887d39e1ba5ee2d4ccb94b14d6f2dce5ddfca [diff] |
ixgbe: fix race condition with shutdown It was possible for shutdown to pull the rug out from other driver entry points. Now we just grab the rtnl lock before taking everything apart. Thanks to Hariharan for noticing this tight race condition. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Cc: Hariharan Nagarajan <hanagara@cisco.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>