diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-07-22 13:03:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-26 16:27:22 -0700 |
commit | 963ad94853000ab100f5ff19eea80095660d41b4 (patch) | |
tree | faa6faa5e27de62c37c0b30bcd96ed4158985be7 /net/xfrm | |
parent | 485164381c1d663d3be1c9d2c600be0fb80a68ad (diff) | |
download | linux-963ad94853000ab100f5ff19eea80095660d41b4.tar.gz linux-963ad94853000ab100f5ff19eea80095660d41b4.tar.bz2 linux-963ad94853000ab100f5ff19eea80095660d41b4.zip |
bridge: netlink: fix slave_changelink/br_setport race conditions
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>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions