[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090425.180628.109371724.davem@davemloft.net>
Date: Sat, 25 Apr 2009 18:06:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kaber@...sh.net
Cc: netdev@...r.kernel.org
Subject: Re: vlan: update vlan carrier state for admin up/down
From: Patrick McHardy <kaber@...sh.net>
Date: Fri, 24 Apr 2009 17:44:47 +0200
> vlan: update vlan carrier state for admin up/down
>
> Currently, the VLAN event handler does not adjust the VLAN
> device's carrier state when the real device or the VLAN device is set
> administratively up or down.
>
> The following patch adds a transfer of operating state from the
> real device to the VLAN device when the real device is administratively
> set up or down, and sets the carrier state up or down during init, open
> and close of the VLAN device.
>
> This permits observers above the VLAN device that care about the
> carrier state (bonding's link monitor, for example) to receive updates
> for administrative changes by more closely mimicing the behavior of real
> devices.
>
> Signed-off-by: Jay Vosburgh <fubar@...ibm.com>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>
I've applied this to net-2.6, thanks!
I realize there are some more issues to deal with wrt. the
comments Ben made. And I eagerly await patches for that :)
--
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