Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 1997 18:26:43 +1000 (EST)
From:      Darren Reed <avalon@coombs.anu.edu.au>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        avalon@coombs.anu.edu.au, hackers@freebsd.org
Subject:   Re: Unloading LKMs (was Re: A Desparate Plea for Help...)
Message-ID:  <199704300827.BAA15601@hub.freebsd.org>
In-Reply-To: <199704300740.RAA27412@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Apr 30, 97 05:10:56 pm

next in thread | previous in thread | raw e-mail | index | archive | help
In some mail from Michael Smith, sie said:
> 
> Darren Reed stands accused of saying:
> > 
> > Hmmm, IP Filter unloads and reloads easily enough.
> 
> I expect that you take care to release your hooks before you go though,
> correct?  There is no way of removing a devsw entry, and often 
> no check made to ensure that it's safe to go.

Yes, I release the hooks before going.  The LKM code currently in the kernel
will clean up the appropriate devsw for you (it saves a copy of the old one
and copies that back when unloading).

Darren



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704300827.BAA15601>