summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2018-09-03 11:21:52 +0100
committerDavid S. Miller <davem@davemloft.net>2018-09-03 22:04:45 -0700
commitdaaa8521760ee4d4e65f309c4c37b3a1e58c9d4e (patch)
treebc8476881a8d70adafcef9f995d068d6fb186b1e /arch/arc
parent3f8601f0f5716c4e63a9f215bbc581df42859d61 (diff)
downloadlwn-daaa8521760ee4d4e65f309c4c37b3a1e58c9d4e.tar.gz
lwn-daaa8521760ee4d4e65f309c4c37b3a1e58c9d4e.zip
net: hns3: Preserve vlan 0 in hardware table
When netdev is down, the stack will delete the vlan from hardware including vlan0, which will cause problem when doing loopback selftest when netdev is down. This patch fixes it by always preserving vlan 0 in hardware, because vlan 0 is defalut vlan, which should always be in hardware. Fixes: c39c4d98dc65 ("net: hns3: Add mac loopback selftest support in hns3 driver") Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions