Skip to content
Commit 0ac820ee authored by Phil Oester's avatar Phil Oester Committed by David S. Miller
Browse files

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: default avatarPhil Oester <kernel@linuxace.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0645bab7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment