Thread (3 messages) 3 messages, 3 authors, 2015-07-26

Re: [PATCH net] bridge: netlink: fix slave_changelink/br_setport race conditions

From: David Miller <davem@davemloft.net>
Date: 2015-07-26 23:28:27
Also in: bridge

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: Wed, 22 Jul 2015 13:03:40 +0200
From: Nikolay Aleksandrov <redacted>

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 <redacted>
Fixes: 3ac636b8591c ("bridge: implement rtnl_link_ops->slave_changelink")
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help