]> 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)
commit83ccbaa616349f10049d4e3aa331a22a9f57c033
tree4d7785c6aa2620d0940462cebecaca7e2a417583
parent57eeb57b959f392984b93f1d6bb348e1712f3e3e
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