On Sep 26 2007 14:06, Stephen Hemminger wrote: >> > >> > No, network devices don't do reference counting. >> >> Could you explain why, please? >> >> After `udevd` on boot loads lots of unused crap, i surrendered, and use >> $(rmmod `lsmod | just first column`). Networing bravely wipes away. OK, >> there are lots of configs: udev, hotplug, modprobe, that somebody might >> like to fix. But it came to the end with me. I just don't care. So, >> please answer :) > >For hotplug and other reasons, the network developers decided that being >able to remove a network module at any time was a good thing. It works. Except that for ipv6.ko, it's all opposite. After modprobe, it already got a refcount like 8 and you're wondering how to get rid of that. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
- From: Stephen Hemminger <shemminger@linux-foundation.org>
- Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
- References:
- [PATCH] Module use count must be updated as bridges are created/destroyed
- From: "Jan Beulich" <jbeulich@novell.com>
- Re: [PATCH] Module use count must be updated as bridges are created/destroyed
- From: Stephen Hemminger <shemminger@linux-foundation.org>
- why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
- From: Oleg Verych <olecom@flower.upol.cz>
- Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
- From: Stephen Hemminger <shemminger@linux-foundation.org>
- [PATCH] Module use count must be updated as bridges are created/destroyed
- Prev by Date: Re: [Bluez-devel] Warnings and Oops on 2.6.23-rc6 while activily using rfcomm links (mm/slab.c)
- Next by Date: Re: PCI: Fix boot-time hang on G31/G33 PC
- Previous by thread: Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
- Next by thread: Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
- Index(es):
![]() |