]> git.hungrycats.org Git - linux/commit
[BRIDGE]: deadlock on device removal
authorStephen Hemminger <shemminger@osdl.org>
Tue, 7 Sep 2004 06:49:43 +0000 (23:49 -0700)
committerPatrick McHardy <kaber@trash.net>
Tue, 7 Sep 2004 06:49:43 +0000 (23:49 -0700)
commit7ad9cf1c3ef14cd0cf165dcf76d52d25855ea15b
tree97193c522f489bb51fd1c88b9104901d74167e67
parentfc2520bc1110209f84131c8ca2a6a7168385d46f
[BRIDGE]: deadlock on device removal

Fixes: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131569
Dead lock in bridge when removing device interface module. br_del_if
assumes br->lock not held.

This fixes case of:
brctl addbr b0
brctl addif b0 eth0
rmmod eth0

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_notify.c