[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111114.003919.1393266325552023244.davem@davemloft.net>
Date: Mon, 14 Nov 2011 00:39:19 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: avagin@...nvz.org
Cc: shemminger@...ux-foundation.org, bridge@...ts.linux-foundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
devel@...nvz.org
Subject: Re: [PATCH] bridge: Fix potential deadlock on br->multicast_lock
From: Andrew Vagin <avagin@...nvz.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@...nvz.org>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists