netdev
[Top] [All Lists]

Re: modular net drivers, take 2

To: Andrew Morton <andrewm@xxxxxxxxxx>
Subject: Re: modular net drivers, take 2
From: Keith Owens <kaos@xxxxxxxxxx>
Date: Wed, 21 Jun 2000 15:16:24 +1000
Cc: "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: Your message of "Wed, 21 Jun 2000 04:45:19 GMT." <3950485F.AD6F58C6@uow.edu.au>
Sender: owner-netdev@xxxxxxxxxxx
On Wed, 21 Jun 2000 04:45:19 +0000, 
Andrew Morton <andrewm@xxxxxxxxxx> wrote:
>Plan M:
>
>sys_delete_module() doesn't do the vfree().  It schedules it for 5
>seconds in the future.  Or provides a mechanism for userland to do this.

Does not fix the problem where module open() code is running at the
same time as module_exit() code which tears down the kernel structures
that open needs.  Freeing the code pages while they are in use is only
one of the possible failure modes for this race.


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