Received: by oss.sgi.com id ; Wed, 21 Jun 2000 03:37:34 -0700 Received: from laurin.munich.netsurf.de ([194.64.166.1]:53736 "EHLO laurin.munich.netsurf.de") by oss.sgi.com with ESMTP id ; Wed, 21 Jun 2000 03:37:13 -0700 Received: from fred.muc.de (none@ns1231.munich.netsurf.de [195.180.235.231]) by laurin.munich.netsurf.de (8.9.3/8.9.3) with ESMTP id MAA04957; Wed, 21 Jun 2000 12:36:49 +0200 (MET DST) Received: from andi by fred.muc.de with local (Exim 2.05 #1) id 134hdL-0000Fl-00; Wed, 21 Jun 2000 12:21:23 +0200 Date: Wed, 21 Jun 2000 12:21:23 +0200 From: Andi Kleen To: Andrew Morton Cc: Andi Kleen , "netdev@oss.sgi.com" Subject: Re: modular net drivers, take 2 Message-ID: <20000621122123.A971@fred.muc.de> References: <39500F81.46F5A826@uow.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <39500F81.46F5A826@uow.edu.au>; from Andrew Morton on Wed, Jun 21, 2000 at 02:44:03AM +0200 Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing On Wed, Jun 21, 2000 at 02:44:03AM +0200, Andrew Morton wrote: > Andi Kleen wrote: > > > > On Tue, Jun 20, 2000 at 02:04:35PM +0200, Andrew Morton wrote: > > > > > > - sys_ioctl() and sys_delete_module() both already claim > > > the big lock, so where's the race anyway? I feel I'm missing > > > something.. > > > > Ugh, I missed that. Ok, with that there is no race. Even better :-) > > I think I lied. Look at this: Ok. Just let's hope that no non-ioctl function grabs first a different lock (like the rtnl_lock) and then does a lock_kernel(). That would give a nice deadlock race. -Andi -- This is like TV. I don't like TV.