[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090226122233.3d53bba7@nehalam>
Date: Thu, 26 Feb 2009 12:22:33 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Matti Aarnio <matti.aarnio@...iler.org>
Cc: David Miller <davem@...emloft.net>, daniel.lezcano@...e.fr,
netdev@...r.kernel.org
Subject: Re: unloading the ipv6 module
On Thu, 26 Feb 2009 20:09:20 +0200
Matti Aarnio <matti.aarnio@...iler.org> wrote:
> On Thu, Feb 26, 2009 at 05:24:11AM -0800, David Miller wrote:
> > From: Daniel Lezcano <daniel.lezcano@...e.fr>
> > Date: Thu, 26 Feb 2009 14:22:12 +0100
> >
> > > I saw in net/ipv6/Kconfig a comment saying
> > > "IPv6 as module will cause a CRASH if you try to unload it".
> > >
> > > If I refer to this comment, that means unloading of ipv6 is not
> > > supported (which makes sense), will it be one day supported?
> >
> > It's very unlikely to be supported any time soon.
> >
> > Maybe "one day" as in 5 years from now at the earliest.
>
> My guess is that somebody reasonably proficient coder with
> a week of free time can get it to unload properly.
>
> I did it once in 2.4 days, I recall.. Not completely, but mostly.
>
> > It's just such an enormous set of problems to solve to make it work,
> > and there are so many more urgent issues to work on.
>
> Like refactoring the system to have IPv4 specific codes,
> IPv6 specific codes, and common codes... But DaveM has
> probably other items in mind.
>
The issue is the reference counting. IPV6 has some internal sockets
that stay open and hold therefore hold references to itself.
These reference counts must be accounted for and managed properly.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists