login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
27
Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Helge Hafting <helge.hafting@...>
To: Stephen Hemminger <shemminger@...>
Cc: Jan Engelhardt <jengelh@...>, Oleg Verych <olecom@...>, Jan Beulich <jbeulich@...>, <bridge@...>, <linux-kernel@...>
Subject:
Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)
Date: Thursday, September 27, 2007 - 7:54 am
Stephen Hemminger wrote:
quoted text
> On Thu, 27 Sep 2007 00:18:55 +0200 (CEST) > Jan Engelhardt <jengelh@computergmbh.de> wrote: > > >> 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. >> > > ipv6 is not a network driver, it is a protocol. You might be able to remove it if you zap > all the routes and applications, ... >
Wouldn't it be enough to down all the interfaces and close all the sockets? No need to bring down every app. Helge Hafting -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Module use count must be updated as bridges are crea...
, Jan Beulich
, (Wed Sep 26, 3:53 am)
Re: [PATCH] Module use count must be updated as bridges are ...
, Stephen Hemminger
, (Wed Sep 26, 11:37 am)
why network devices don't do reference counting? (Re: [PATCH...
, Oleg Verych
, (Wed Sep 26, 5:06 pm)
Re: why network devices don't do reference counting? (Re: [P...
, Stephen Hemminger
, (Wed Sep 26, 5:06 pm)
Re: why network devices don't do reference counting? (Re: [P...
, Jan Engelhardt
, (Wed Sep 26, 6:18 pm)
Re: why network devices don't do reference counting? (Re: [P...
, Stephen Hemminger
, (Wed Sep 26, 6:33 pm)
Re: why network devices don't do reference counting? (Re: [P...
, Helge Hafting
, (Thu Sep 27, 7:54 am)
Re: why network devices don't do reference counting?
, David Miller
, (Thu Sep 27, 3:01 pm)
Re: why network devices don't do reference counting? (Re: [P...
, Stephen Hemminger
, (Thu Sep 27, 10:51 am)
Re: why network devices don't do reference counting? (Re: [P...
, Jan Engelhardt
, (Thu Sep 27, 10:55 am)
Re: why network devices don't do reference counting?
, David Miller
, (Thu Sep 27, 3:15 pm)
Re: why network devices don't do reference counting?
, David Miller
, (Wed Sep 26, 6:57 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Gabriel C
Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
git
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
David Miller
[GIT]: Networking
Thomas Jarosch
Re: TCP connection stalls under 2.6.24.7
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
1023 guests
online.
Online users
strcmp
zeekec
maheshdm
Syndicate