netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: apollon@noc.grnet.gr
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] X.25: decrement netdev reference counts on unload
Date: Wed, 08 Dec 2010 10:55:02 -0800 (PST)	[thread overview]
Message-ID: <20101208.105502.70203613.davem@davemloft.net> (raw)
In-Reply-To: <20101207194330.GA22608@noc.grnet.gr>

From: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Date: Tue, 7 Dec 2010 21:43:30 +0200

> x25 does not decrement the network device reference counts on module unload.
> Thus unregistering any pre-existing interface after unloading the x25 module
> hangs and results in
> 
>  unregister_netdevice: waiting for tap0 to become free. Usage count = 1
> 
> This patch decrements the reference counts of all interfaces in x25_link_free,
> the way it is already done in x25_link_device_down for NETDEV_DOWN events.
> 
> Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>

Applied and queued up for -stable, thanks.

      parent reply	other threads:[~2010-12-08 18:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 19:43 [PATCH] X.25: decrement netdev reference counts on unload Apollon Oikonomopoulos
2010-12-07 22:48 ` Andrew Hendry
2010-12-08 18:55 ` David Miller [this message]

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=20101208.105502.70203613.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=apollon@noc.grnet.gr \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).