mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: wferi@niif.hu
Cc: shemminger@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: network driver usage count
Date: Thu, 22 Nov 2007 17:04:58 -0800 (PST)	[thread overview]
Message-ID: <20071122.170458.260273849.davem@davemloft.net> (raw)
In-Reply-To: <87myt7nt0k.fsf@szonett.ki.iif.hu>

From: Wagner Ferenc <wferi@niif.hu>
Date: Wed, 21 Nov 2007 23:16:59 +0100

> Hmm, that would warrant nuking all the reference counts on every
> driver.

That's not true.  When packets are in flight, references go
to the device and the device cannot be unloaded until those
references get dropped.

This behavior makes sense because otherwise you have to figure
out the myriad of references (each ipv4 address, each ipv6
address, routes, ARP entries, etc.) just to perform such a
simple operation.

If you do not mean to unload the device, simply do not do it.

  parent reply	other threads:[~2007-11-23  1:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21 19:45 Ferenc Wagner
2007-11-21 21:04 ` Stephen Hemminger
2007-11-21 22:16   ` Wagner Ferenc
2007-11-21 23:53     ` Francois Romieu
2007-11-23  1:04     ` David Miller [this message]
2007-11-23 10:09       ` Ferenc Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071122.170458.260273849.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shemminger@linux-foundation.org \
    --cc=wferi@niif.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®