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)
commit19720737187aaee006afb20e63be5e9eddc505a8
tree5ecc3d10f36c9ad2b4d4f04bf916797c42e34872
parent0da6d7b331f391d3c0ce52fb5289f7edeb94e280
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