diff options
author | Fuyun Liang <liangfuyun1@huawei.com> | 2018-03-10 04:29:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-12 03:53:31 +0100 |
commit | 590980558bd0f49ff598909464661298aad74819 (patch) | |
tree | 6444dc1811ccafd2ed4b1fa89823da84710acc61 /mm/mempool.c | |
parent | Merge branch 'selftests-forwarding-Tweaks-and-a-new-test' (diff) | |
download | linux-590980558bd0f49ff598909464661298aad74819.tar.xz linux-590980558bd0f49ff598909464661298aad74819.zip |
net: hns3: add existence check when remove old uc mac address
When driver is in initial state, the mac_vlan table table is empty.
So the delete operation for mac address must fail. Existence check
is needed here. Otherwise, the error message will make user confused.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions