diff options
author | Phil Oester <kernel@linuxace.com> | 2010-08-17 18:45:08 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-19 07:26:46 (GMT) |
commit | 0ac820eebe9008094040955d294ef7b33b418413 (patch) | |
tree | 5ce37697c91666fd5c83930c32cf8181dc7e67c7 /block/cfq.h | |
parent | 0645bab7da3cb021157e5c661ef35f1d1226785a (diff) | |
download | linux-fsl-qoriq-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 'block/cfq.h')
0 files changed, 0 insertions, 0 deletions