Home
last modified time | relevance | path

Searched hist:"0 ac820ee" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/8021q/
H A Dvlan_dev.c0ac820ee Tue Aug 17 13:45:08 CDT 2010 Phil Oester <kernel@linuxace.com> vlan: Match underlying dev carrier on vlan add

When adding a new vlan, if the underlying interface has no carrier,
then the newly added vlan interface should also have no carrier.
At present, this is not true - the newly added vlan is added with
carrier up. Fix by checking state of real device.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
0ac820ee Tue Aug 17 13:45:08 CDT 2010 Phil Oester <kernel@linuxace.com> vlan: Match underlying dev carrier on vlan add

When adding a new vlan, if the underlying interface has no carrier,
then the newly added vlan interface should also have no carrier.
At present, this is not true - the newly added vlan is added with
carrier up. Fix by checking state of real device.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: David S. Miller <davem@davemloft.net>