* Andrew Morton <[EMAIL PROTECTED]> [060309 12:19]:
> 
> 
> Begin forwarded message:
> 
> Date: Thu, 9 Mar 2006 01:24:06 -0800
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [Bugme-new] [Bug 6197] New: unregister_netdevice: waiting for ppp9 
> to become free. Usage count = 658
> 
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=6197
> 
>            Summary: unregister_netdevice: waiting for ppp9 to become free.
>                     Usage count = 658
>     Kernel Version: 2.6.15 and all 2.6 series
>             Status: NEW
>           Severity: blocking
>              Owner: [EMAIL PROTECTED]
>          Submitter: [EMAIL PROTECTED]
> 
> 
> Hi there! I've been experienced a big problem with the lastest kernel version
> and all 2.6 versions prior to this version.
> I'm using Fedora Core 3 and the machine in cause is a router and a dialin
> server. I use pppoe-server in kernel mode (rp-pppoe-3.7 and pppd 2.4.3).
> When a user connects to server with pppoe, then to the http daemon and then
> disconnects the kernel start saying messages like this kind:
> 
> Message from [EMAIL PROTECTED] at Thu Mar  9 10:51:14 2006 ...
> 
> nextc kernel: unregister_netdevice: waiting for ppp9 to become free. Usage 
> count
> = 233

We seem to not handle the NETDEV_UNREGISTER notification in pppoe, can
you please try the following patch? It is against latest git snapshot
but it should apply to 2.6.15 as well.

Baruch
--

We need to remove all references to the device when we receive the
NETDEV_UNREGISTER notification.

Signed-off-by: Baruch Even <[EMAIL PROTECTED]>

--
 drivers/net/pppoe.c |    1 +
 1 file changed, 1 insertion(+)

Index: pppcd/drivers/net/pppoe.c
===================================================================
--- pppcd.orig/drivers/net/pppoe.c
+++ pppcd/drivers/net/pppoe.c
@@ -305,6 +305,7 @@ static int pppoe_device_event(struct not
                 * LCP re-negotiation.
                 */
 
+       case NETDEV_UNREGISTER:
        case NETDEV_GOING_DOWN:
        case NETDEV_DOWN:
                /* Find every socket on this device and kill it. */

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to