netdev
[Top] [All Lists]

Re: [PATCH] net: Disable queueing when carrier is lost (take 2)

To: Thomas Graf <tgraf@xxxxxxx>
Subject: Re: [PATCH] net: Disable queueing when carrier is lost (take 2)
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 May 2005 21:23:10 +1000
Cc: Tommy Christensen <tommy.christensen@xxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050503111844.GP577@postel.suug.ch>
References: <4276B13F.2040103@tpack.net> <20050503100306.GB29788@gondor.apana.org.au> <20050503111844.GP577@postel.suug.ch>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Tue, May 03, 2005 at 01:18:44PM +0200, Thomas Graf wrote:
> 
> I do like the patch, no question but IFF_RUNNING is still abused
> by drivers and some subsystems. So I'm not sure how reliable the
> above code will be without those cases fixed. I submitted a

Ouch, you're right.  They either need to be fixed or we'll just
have to go back to the simpler version that may call
dev_activate/dev_deactivate repeatedly.

> patchset once to fix some of them, not sure about the status. Also,
> what about those drivers that do not support or do not use
> netif_carrier_(on|off)?

They simply won't benefit from this patch.  This is OK since they're
no worse off than where they were before.  It might also prove to be
an incentive for someone to finally fix them :)

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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