sfc: Hold the RTNL lock for more of the suspend/resume cycle
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 27 Jul 2012 18:35:39 +0000 (19:35 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 19:10:19 +0000 (20:10 +0100)
commit61da026d86517def727eb67d7cb8ee5657a12dd9
tree4d7785c6aa2620d0940462cebecaca7e2a417583
parentf16aeea0e679d5fd43fc02e99569c52d77d5e5d3
sfc: Hold the RTNL lock for more of the suspend/resume cycle

I don't think these PM functions can race with userland net device
operations, but it's much easier to reason about locking if state is
consistently guarded by the same lock.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c