From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: [PATCH] post-sysfs netdev cleanup Date: Sun, 25 May 2003 19:24:17 -0700 (PDT) Sender: netdev-bounce@oss.sgi.com Message-ID: <20030525.192417.102551586.davem@redhat.com> References: <3ECD6E2D.5090000@rogers.com> <20030522.174415.28799441.davem@redhat.com> <3ECEB317.5020407@osdl.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: muizelaar@rogers.com, netdev@oss.sgi.com Return-path: To: shemminger@osdl.org In-Reply-To: <3ECEB317.5020407@osdl.org> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org From: Stephen Hemminger Date: Fri, 23 May 2003 16:47:35 -0700 Seems like a good idea too. Ok, great. Stephen, I think we need to find a way to put the device registration call outside of the RTNL semaphore. I removed in the unregister case, but to be complete we have to push it out in the register path too. The reason for all of these issues is that link_watch grabs the RTNL semaphore, and this runs via keventd. Thus, trying to invoke any usermode helper (/sbin/hotplug etc.) while holding the RTNL semaphore can deadlock.