diff options
author | 2010-08-17 18:45:08 +0000 | |
---|---|---|
committer | 2010-08-19 00:26:46 -0700 | |
commit | 0ac820eebe9008094040955d294ef7b33b418413 (patch) | |
tree | 5ce37697c91666fd5c83930c32cf8181dc7e67c7 /drivers/scsi/mpt2sas/mpt2sas_ctl.c | |
parent | ibmveth: Fix opps during MTU change on an active device (diff) | |
download | wireguard-linux-0ac820eebe9008094040955d294ef7b33b418413.tar.xz wireguard-linux-0ac820eebe9008094040955d294ef7b33b418413.zip |
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 'drivers/scsi/mpt2sas/mpt2sas_ctl.c')
0 files changed, 0 insertions, 0 deletions