Re: modprobe ipv6 gives -1 usage count was [ramfs problem...]

Russell King (rmk@arm.linux.org.uk)
Sat, 6 Jan 2001 09:55:09 +0000 (GMT)


Stefan Traby writes:
> I bet that a fix for the following exists, too: :)
>
> [0]--(06:19:49)-(root@stefan)-(~)-> lsmod |grep -i ipv6
> [1]--(06:22:33)-(root@stefan)-(~)-> modprobe ipv6
> [0]--(06:22:38)-(root@stefan)-(~)-> lsmod |grep -i ipv6
> ipv6 117424 -1
> [0]--(06:22:46)-(root@stefan)-(~)->
>
> usage count: -1

Why? It is not a bug. It means that the module itself determines when/if
it can be unloaded. (an attempt to unload ipv6 calls ipv6_unload() which
determines if the module can be removed)
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/