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
|