commit | cfb8c3aa59302636c69890be10b2ef23a7ca83b2 | [log] [tgz] |
---|---|---|
author | Benjamin Poirier <bpoirier@suse.de> | Thu May 10 15:38:37 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 10 22:44:46 2012 -0400 |
tree | 807db877df7d1ff7282d0966d9cf9a441d6fbf0f | |
parent | dccd9ecc374462e5d6a5b8f8110415a86c2213d8 [diff] |
igb: fix rtnl race in PM resume path Since the caller (PM resume code) is not the one holding rtnl, when taking the 'else' branch rtnl may be released at any moment, thereby defeating the whole purpose of this code block. Signed-off-by: Benjamin Poirier <bpoirier@suse.de> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>