diff options
author | Fuyun Liang <liangfuyun1@huawei.com> | 2018-03-10 11:29:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-11 22:53:31 -0400 |
commit | 590980558bd0f49ff598909464661298aad74819 (patch) | |
tree | 6444dc1811ccafd2ed4b1fa89823da84710acc61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | daa13701a95e4b88ab5628aaa6698bd59db9d3d9 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions