Thread (25 messages) 25 messages, 6 authors, 2009-03-08

Re: IPv4/IPv6 sysctl unregistration deadlock

From: Stephen Hemminger <hidden>
Date: 2009-02-27 01:25:12

On Fri, 27 Feb 2009 08:59:45 +0800
Herbert Xu [off-list ref] wrote:
On Thu, Feb 26, 2009 at 08:49:24AM -0800, Stephen Hemminger wrote:
quoted
-	rtnl_lock();
+	if (!rtnl_trylock())
+		return -ERESTARTSYS;
This is going to spin instead of sleep on contention, is that
intended?

Cheers,
It walks all the way back out to VFS, which is what you have to
do since the sysctl may move.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help