netdev
[Top] [All Lists]

Re: 2.6.7-rc3: unregister_netdevice: waiting for tun0 to become free. Us

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: 2.6.7-rc3: unregister_netdevice: waiting for tun0 to become free. Usage count = 1
From: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Date: Thu, 17 Jun 2004 23:07:39 +0400
Cc: herbert@xxxxxxxxxxxxxxxxxxx, schwab@xxxxxxx, netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <20040617105324.554c631b.davem@xxxxxxxxxx>
References: <20040614124402.GA28519@xxxxxxxxxxxxxxxxxxx> <20040616193731.GB29781@xxxxxxxxxxxxx> <20040616130950.6aadde3c.davem@xxxxxxxxxx> <20040616203748.GA30675@xxxxxxxxxxxxx> <20040616134711.499209c9.davem@xxxxxxxxxx> <20040617081722.GA8559@xxxxxxxxxxxxxxxxxxx> <20040617083303.GA8810@xxxxxxxxxxxxxxxxxxx> <20040617101016.44512cb1.davem@xxxxxxxxxx> <20040617172449.GA10303@xxxxxxxxxxxxx> <20040617105324.554c631b.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
Hello!

> It occurs, via synchronize_net(), but this happens before NETDEV_UNREGISTER
> event is sent out.  Is it sufficient?  I think not,

Agreed.

>                                                and that we need to
> add another call in unregister_netdevice() right before final dev_put().

This should be enough.

Alexey

<Prev in Thread] Current Thread [Next in Thread>