Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information