[BRIDGE]: sysfs locking fix.
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 14 Aug 2007 20:21:34 +0000 (13:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2007 20:21:34 +0000 (13:21 -0700)
The stp change code generates "sleeping function called from invalid
context" because rtnl_lock() called with BH disabled. This fixes it by
not acquiring then dropping the bridge lock.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found