diff options
author | Phil Oester <kernel@linuxace.com> | 2010-08-17 22:45:08 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-19 11:26:46 +0400 |
commit | 0ac820eebe9008094040955d294ef7b33b418413 (patch) | |
tree | 5ce37697c91666fd5c83930c32cf8181dc7e67c7 /net/ipv6/ip6_input.c | |
parent | 0645bab7da3cb021157e5c661ef35f1d1226785a (diff) | |
download | linux-0ac820eebe9008094040955d294ef7b33b418413.tar.xz |
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>
Diffstat (limited to 'net/ipv6/ip6_input.c')
0 files changed, 0 insertions, 0 deletions