Re: IPv4/IPv6 sysctl unregistration deadlock

From
Stephen Hemminger <hidden>
Date
2009-02-27 01:25:12
Reply to
Herbert Xu, 2009-02-27
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.
Thread (25 messages) 25 messages, 6 authors, last reply 2009-03-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help