igb: fix rtnl race in PM resume path
authorBenjamin Poirier <bpoirier@suse.de>
Thu, 10 May 2012 15:38:37 +0000 (15:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 02:44:46 +0000 (22:44 -0400)
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>

No differences found