]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit241d4abf4b71bb97d652e4ded4084cca936270e2
tree4c36e5f7592ba6b06fddc8ca141d1879326de564
parent0385aebb940dfc957125fc2ca704d042924fed72
[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