[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 05 May 2009 14:41:08 +0200
From: Patrick McHardy <kaber@...sh.net>
To: David Miller <davem@...emloft.net>
CC: fubar@...ibm.com, greearb@...delatech.com, netdev@...r.kernel.org
Subject: Re: vlan: update vlan carrier state for admin up/down
David Miller wrote:
> From: Jay Vosburgh <fubar@...ibm.com>
> Date: Mon, 27 Apr 2009 16:55:58 -0700
>
>> I'm reluctant to mess with this behavior without knowing why it
>> works this way; there may be a good reason for it that I'm not aware
>> of.
>
> To be honest I think it's just that this is one huge dark
> corner of behavior for many virtual devices, rather than
> any of it being intentional.
Indeed. In case of VLANs it has always been this way and I'm
reluctant to change the default behaviour since people might
be relying on this to flush their routes or something similar.
For new drivers I'd say they should always use operstate. For
VLAN the safest way would be to add a flag to disable this
behaviour.
--
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