commit | 0ac820eebe9008094040955d294ef7b33b418413 | [log] [tgz] |
---|---|---|
author | Phil Oester <kernel@linuxace.com> | Tue Aug 17 18:45:08 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 19 00:26:46 2010 -0700 |
tree | 5ce37697c91666fd5c83930c32cf8181dc7e67c7 | |
parent | 0645bab7da3cb021157e5c661ef35f1d1226785a [diff] |
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>