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

From: "David S. Miller" <[email-masked]>
Date: Wed, 10 Dec 2003 12:49:48 -0800

On Wed, 10 Dec 2003 12:03:09 -0800
Stephen Hemminger <[email-masked]> 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.