[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101208.105502.70203613.davem@davemloft.net>
Date: Wed, 08 Dec 2010 10:55:02 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: apollon@....grnet.gr
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] X.25: decrement netdev reference counts on unload
From: Apollon Oikonomopoulos <apollon@....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@....grnet.gr>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists