[Devel] Re: [PATCH] bridge: Fix potential deadlock on br->multicast_lock
David Miller
davem at davemloft.net
Sun Nov 13 21:39:19 PST 2011
From: Andrew Vagin <avagin at openvz.org>
Date: Thu, 10 Nov 2011 18:48:03 +0300
> multicast_lock is taken in softirq context, so we should use
> spin_lock_bh() in userspace.
>
> call-chain in softirq context:
> run_timer_softirq()
> br_multicast_query_expired()
>
> call-chain in userspace:
> sysfs_write_file()
> store_multicast_snooping()
> br_multicast_toggle()
>
> Signed-off-by: Andrew Vagin <avagin at openvz.org>
Applied, thanks.
More information about the Devel
mailing list