netdev
[Top] [All Lists]

Re: modular net drivers, take 2

To: Andrew Morton <andrewm@xxxxxxxxxx>
Subject: Re: modular net drivers, take 2
From: Andi Kleen <ak@xxxxxx>
Date: Wed, 21 Jun 2000 12:21:23 +0200
Cc: Andi Kleen <ak@xxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <39500F81.46F5A826@uow.edu.au>; from Andrew Morton on Wed, Jun 21, 2000 at 02:44:03AM +0200
References: <39500F81.46F5A826@uow.edu.au>
Sender: owner-netdev@xxxxxxxxxxx
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.

<Prev in Thread] Current Thread [Next in Thread>