netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Are IPV6 module ref counts wrong on 2.6.0-test11?
@ 2003-12-10 20:03 Stephen Hemminger
  2003-12-10 20:49 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2003-12-10 20:03 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Are IPV6 module ref counts wrong on 2.6.0-test11?
  2003-12-10 20:03 Are IPV6 module ref counts wrong on 2.6.0-test11? Stephen Hemminger
@ 2003-12-10 20:49 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-12-10 20:49 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

On Wed, 10 Dec 2003 12:03:09 -0800
Stephen Hemminger <shemminger@osdl.org> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-10 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-10 20:03 Are IPV6 module ref counts wrong on 2.6.0-test11? Stephen Hemminger
2003-12-10 20:49 ` David S. Miller

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).