OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH] bridge: Fix potential deadlock on br->multicast_lock
Re: [PATCH] bridge: Fix potential deadlock on br->multicast_lock [message #44076] Mon, 14 November 2011 05:39
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Andrew Vagin <avagin@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@openvz.org>

Applied, thanks.
 
Read Message
Previous Topic: [PATCH] sched: don't call task_group() many times in set_task_rq()
Next Topic: Le forfait entreprise tout inclus
Goto Forum:
  


Current Time: Wed Aug 20 05:01:11 GMT 2025

Total time taken to generate the page: 0.13046 seconds