netdev
[Top] [All Lists]

Re: why cannot unload ipv6 module ?

To: zjp@xxxxxxxxxxx
Subject: Re: why cannot unload ipv6 module ?
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Fri, 15 Nov 2002 07:48:25 +0900 (JST)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <000e01c28bd1$ffdaf2c0$6c06a8c0@zhengjp>
Organization: USAGI Project
References: <001801c28bb8$cd749c50$6c06a8c0@zhengjp> <20021114.180104.77076139.yoshfuji@xxxxxxxxxxxxxx> <000e01c28bd1$ffdaf2c0$6c06a8c0@zhengjp>
Sender: netdev-bounce@xxxxxxxxxxx
In article <000e01c28bd1$ffdaf2c0$6c06a8c0@zhengjp> (at Thu, 14 Nov 2002 
19:35:57 +0800), "Zheng Jianping" <zjp@xxxxxxxxxxx> says:

> > > I complie IPv6 as module and install it. But when I try to unload it, I
> failed.
> > > How can I make IPv6 module unload?
> >
> > unloading ipv6 module is not supported.
> >
> Can I modify the IPv6 source code to make unloading supported?

You could.


> If yes, how to modify it?

In fact, you can unload if you pass "unloading=1" when loading.
But, rmmod ipv6 does not work properly and we cannot insmod ipv6 again.
We've fixed this (and code is in our (USAGI Project 
<http://www.linux-ipv6.org>'s) tree), but kernel panics if we unloaded 
ipv6 module when *any* ipv6 sockets exist.

BTW, Don't you think that if we knew all, we've done it? :-)

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA


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