netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Matti Aarnio <matti.aarnio@zmailer.org>
Cc: David Miller <davem@davemloft.net>,
	daniel.lezcano@free.fr, netdev@vger.kernel.org
Subject: Re: unloading the ipv6 module
Date: Thu, 26 Feb 2009 12:22:33 -0800	[thread overview]
Message-ID: <20090226122233.3d53bba7@nehalam> (raw)
In-Reply-To: <20090226180920.GO28512@mea-ext.zmailer.org>

On Thu, 26 Feb 2009 20:09:20 +0200
Matti Aarnio <matti.aarnio@zmailer.org> wrote:

> On Thu, Feb 26, 2009 at 05:24:11AM -0800, David Miller wrote:
> > From: Daniel Lezcano <daniel.lezcano@free.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.

  reply	other threads:[~2009-02-26 20:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26 13:22 unloading the ipv6 module Daniel Lezcano
2009-02-26 13:24 ` David Miller
2009-02-26 13:43   ` Daniel Lezcano
2009-02-26 13:51     ` David Miller
2009-02-26 14:01       ` Daniel Lezcano
2009-02-26 18:09   ` Matti Aarnio
2009-02-26 20:22     ` Stephen Hemminger [this message]
2009-02-27  1:06     ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090226122233.3d53bba7@nehalam \
    --to=shemminger@vyatta.com \
    --cc=daniel.lezcano@free.fr \
    --cc=davem@davemloft.net \
    --cc=matti.aarnio@zmailer.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).