]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: hold RTNL when doing suspend/shutdown operations
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 14 Aug 2009 05:15:16 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2009 22:30:03 +0000 (15:30 -0700)
commitd3acc16378c8dd1b79e8f2f26a4d80e47de4ca98
tree5ecc3d10f36c9ad2b4d4f04bf916797c42e34872
parentfa8327da49445e9ea6ba15a158de60543b2a759e
sky2: hold RTNL when doing suspend/shutdown operations

The suspend and shutdown code plays with shared state. Use consistent
locking, for extra protection.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c