Revision 963ad94853000ab100f5ff19eea80095660d41b4 authored by Nikolay Aleksandrov on 22 July 2015, 11:03:40 UTC, committed by David S. Miller on 26 July 2015, 23:27:22 UTC
Since slave_changelink support was added there have been a few race
conditions when using br_setport() since some of the port functions it
uses require the bridge lock. It is very easy to trigger a lockup due to
some internal spin_lock() usage without bh disabled, also it's possible to
get the bridge into an inconsistent state.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fixes: 3ac636b8591c ("bridge: implement rtnl_link_ops->slave_changelink")
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4851643
History
File Mode Size
Kconfig -rw-r--r-- 3.1 KB
Makefile -rw-r--r-- 416 bytes
acl.c -rw-r--r-- 8.8 KB
acl.h -rw-r--r-- 1.2 KB
checkpoint.c -rw-r--r-- 27.3 KB
crypto.c -rw-r--r-- 12.7 KB
crypto_fname.c -rw-r--r-- 11.0 KB
crypto_key.c -rw-r--r-- 6.7 KB
crypto_policy.c -rw-r--r-- 5.9 KB
data.c -rw-r--r-- 50.0 KB
debug.c -rw-r--r-- 13.1 KB
dir.c -rw-r--r-- 20.8 KB
f2fs.h -rw-r--r-- 63.0 KB
f2fs_crypto.h -rw-r--r-- 3.8 KB
file.c -rw-r--r-- 37.3 KB
gc.c -rw-r--r-- 20.2 KB
gc.h -rw-r--r-- 3.0 KB
hash.c -rw-r--r-- 2.0 KB
inline.c -rw-r--r-- 12.7 KB
inode.c -rw-r--r-- 10.4 KB
namei.c -rw-r--r-- 24.0 KB
node.c -rw-r--r-- 50.1 KB
node.h -rw-r--r-- 10.5 KB
recovery.c -rw-r--r-- 13.7 KB
segment.c -rw-r--r-- 61.2 KB
segment.h -rw-r--r-- 22.3 KB
super.c -rw-r--r-- 35.3 KB
trace.c -rw-r--r-- 3.4 KB
trace.h -rw-r--r-- 1013 bytes
xattr.c -rw-r--r-- 14.8 KB
xattr.h -rw-r--r-- 4.6 KB

back to top