[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cb0375e10907141158l345742e3t1a252d1d1d0db526@mail.gmail.com>
Date: Tue, 14 Jul 2009 14:58:06 -0400
From: Andrew Lutomirski <amluto@...il.com>
To: David Miller <davem@...emloft.net>
Cc: eeeesti@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] Tell linkwatch about new interfaces
On Tue, Jul 14, 2009 at 2:33 PM, David Miller<davem@...emloft.net> wrote:
> From: Sergio Luis <eeeesti@...il.com>
> Date: Tue, 14 Jul 2009 14:17:21 -0300
>
>> is this patch incorrect, though? with the linkwatch_fire_event() call,
>> the rfc2863 operstate will be set for everyone at device register
>> time.
>
> The issue is dumb drivers that do not manage their link state
> at all. We want them to always have their links up, from the
> moment they are registered.
Such dumb drivers still end up with bogus operstate.
>
> This is especially important for virtual devices.
$ ip link show lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
I've never noticed this causing a problem, but it seems a little
silly. Presumably lo should be "UP."
--Andy
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists