[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150722125257.GA2219@nanopsycho.orion>
Date: Wed, 22 Jul 2015 14:52:57 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Nikolay Aleksandrov <razor@...ckwall.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
bridge@...ts.linux-foundation.org, stephen@...workplumber.org,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: Re: [PATCH net] bridge: netlink: fix slave_changelink/br_setport
race conditions
Wed, Jul 22, 2015 at 01:03:40PM CEST, razor@...ckwall.org wrote:
>From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
>
>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@...ulusnetworks.com>
>Fixes: 3ac636b8591c ("bridge: implement rtnl_link_ops->slave_changelink")
Looks fine to me, thanks for this fix.
Reviewed-by: Jiri Pirko <jiri@...nulli.us>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists