Skip to contentSkip to conversation

Are IPV6 module ref counts wrong on 2.6.0-test11?

DISCUSSION Stephen Hemminger 2 participants 2 messages Dec 10, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 7 lines · On Wed, 10 Dec 2003 12:03:09 -0800 Stephen Hemminger <[email protected]>…

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.