[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)
commit17120889b0706b69ae24cba3ef0a340dc3fb7edc
tree4c36e5f7592ba6b06fddc8ca141d1879326de564
parent45241a7a07537266eec363593ef377a1e6b7db7f
[BRIDGE]: sysfs locking fix.

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>
net/bridge/br_sysfs_br.c