login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
2
Re: [Patch V3] bonding: fix potential deadlock in bond_uninit()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: David Miller
Subject:
Re: [Patch V3] bonding: fix potential deadlock in bond_uninit()
Date: Thursday, April 1, 2010 - 5:26 pm
From: Cong Wang <amwang@redhat.com> Date: Thu, 01 Apr 2010 15:30:52 +0800
quoted text
> Eric W. Biederman wrote: >> Amerigo Wang <amwang@redhat.com> writes: >> >>> bond_uninit() is invoked with rtnl_lock held, when it does >>> destroy_workqueue() >>> which will potentially flush all works in this workqueue, if we hold >>> rtnl_lock >>> again in the work function, it will deadlock. >>> >>> So move destroy_workqueue() to destructor where rtnl_lock is not held >>> any more, >>> suggested by Eric. >> The error handling on creating a bond device needs to be updated as >> well. >> > > Done.
Applied, thanks. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[Patch V2] bonding: fix potential deadlock in bond_uninit()
, Amerigo Wang
, (Wed Mar 31, 11:06 pm)
Re: [Patch V2] bonding: fix potential deadlock in bond_uni ...
, Eric W. Biederman
, (Wed Mar 31, 11:12 pm)
Re: [Patch V2] bonding: fix potential deadlock in bond_uni ...
, Cong Wang
, (Wed Mar 31, 11:54 pm)
[Patch V3] bonding: fix potential deadlock in bond_uninit()
, Cong Wang
, (Thu Apr 1, 12:30 am)
Re: [Patch V3] bonding: fix potential deadlock in bond_uni ...
, David Miller
, (Thu Apr 1, 5:26 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [patch] e1000=y && e1000e=m regression fix
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Eli Cohen
Re: LRO num of frags limit
Boaz Harrosh
how to use KBUILD_EXTRA_SYMBOLS
Pekka Enberg
Re: [PATCH] include/linux/slab.h: new KFREE() macro.
git
:
Bill Lear
cpio command not found
Jing Xue
Re: git rm --cached
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Michael S. Tsirkin
git-kill: rewrite history removing a commit
Johannes Sixt
Re: How to pull remote branch with specified commit id?
linux-netdev
:
Johann Baudy
Packet mmap: TX RING and zero copy
Stephen Hemminger
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Balazs Scheidler
Re: [PATCH 5/9] tproxy: allow non-local binds of IPv6 sockets if IP_TRANSPARENT is...
David Miller
Re: [net-next PATCH 2/2] qlge: Version change to v1.00.00.27
openbsd-misc
:
Bryan Irvine
Re: DVD burn error: No space left on device
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Skylar Hawk
Re: asus eee 1201n - acpitz0 critical temperature 255C (5282K), shutting down
git-commits-head
:
Linux Kernel Mailing List
Linux 2.6.34-rc4
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
[ALSA] hda-codec - Add support for VIA VT1708B HD audio codec
Linux Kernel Mailing List
ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range
Colocation donated by:
Syndicate