]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf35a0ebc3b029370f23e1334c645ab1501751213
tree4d7785c6aa2620d0940462cebecaca7e2a417583
parentb839b5d71e3d853fc55641bdbe29825d09dfe0f3
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