On Thu, 5 Oct 2000, Harald Welte wrote:
> On Wed, Oct 04, 2000 at 11:11:21PM -0400, Brendan Cully wrote:
>
> > ipv6 142240 -1
>
> go and check out the mailinglist archive. This is one of the most frequently
> asked questions.
>
> IPv6 currently has no clean code to remove itself from the network stack,
> so it is setting the reference count to -1 to ensure it is _never_ unloaded.
>
> Your next question might be: Why is it a module at all?
>
> Because we want to keep the kernel footprint as small as possible.
That seems like a bug... If MOD_INC_USE_COUNT occurs, then unload (oops?)
is possible.
The proper way to do this is to add an additional MOD_INC_USE_COUNT
to init_module. This ensures the mod use count is never less than one.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:15 EST