Re: IPv4/IPv6 sysctl unregistration deadlock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick McHardy
Date: Monday, March 2, 2009 - 4:03 pm

David Miller wrote:


I tried this morning, the problem is that its always the sysctl
handler which will run into the deadlock first, but there is no
reliable indication to avoid it other than that the RTNL is
already held. The problem is that the sysctl interface puts the
process holding the RTNL to sleep and allows a process requiring
it to run. Any different synchronization attempt will have the
same problem, it seems you simply can't hold any locks while
unregistering sysctls.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
IPv4/IPv6 sysctl unregistration deadlock, Patrick McHardy, (Tue Feb 24, 10:23 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Herbert Xu, (Tue Feb 24, 11:19 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Patrick McHardy, (Tue Feb 24, 11:23 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Patrick McHardy, (Wed Feb 25, 12:18 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Herbert Xu, (Wed Feb 25, 1:43 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Eric W. Biederman, (Wed Feb 25, 11:06 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Eric W. Biederman, (Wed Feb 25, 11:10 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Herbert Xu, (Wed Feb 25, 11:22 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Eric W. Biederman, (Thu Feb 26, 12:18 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Stephen Hemminger, (Thu Feb 26, 9:49 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Stephen Hemminger, (Thu Feb 26, 9:55 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Eric W. Biederman, (Thu Feb 26, 12:01 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Stephen Hemminger, (Thu Feb 26, 1:24 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Herbert Xu, (Thu Feb 26, 5:59 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Stephen Hemminger, (Thu Feb 26, 6:25 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Ben Greear, (Fri Feb 27, 11:26 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Stephen Hemminger, (Fri Feb 27, 11:38 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Patrick McHardy, (Mon Mar 2, 4:07 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Patrick McHardy, (Mon Mar 2, 4:21 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Ben Greear, (Mon Mar 2, 3:11 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Patrick McHardy, (Mon Mar 2, 3:20 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, David Miller, (Mon Mar 2, 3:47 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, Patrick McHardy, (Mon Mar 2, 4:03 pm)
Re: IPv4/IPv6 sysctl unregistration deadlock, David Miller, (Tue Mar 3, 1:48 am)
Re: IPv4/IPv6 sysctl unregistration deadlock, Eric W. Biederman, (Sat Mar 7, 8:36 pm)