netdev
[Top] [All Lists]

Re: Are IPV6 module ref counts wrong on 2.6.0-test11?

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: Are IPV6 module ref counts wrong on 2.6.0-test11?
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 10 Dec 2003 12:49:48 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20031210120309.09b8fd84.shemminger@xxxxxxxx>
References: <20031210120309.09b8fd84.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 10 Dec 2003 12:03:09 -0800
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> If I load IPV6 as a module, it comes up with a ref count of 10
> even though there are no applications using IPV6.
> 
> Interesting /proc/net/sockstat6 shows 1 TCP connection, but there is
> no application with that open.
> 
> This doesn't seem right, and it makes unloading IPV6 impossible.

IPV6 is not safe to unload as a module, it is going to take
a lot of difficult work to fix this.

The 10 reference counts come from things like sockets created for
sending ipv6 ICMP packets and stuff like that.

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