diff options
| author | Jian Shen <shenjian15@huawei.com> | 2019-04-04 16:17:55 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-04 10:20:39 -0700 |
| commit | 389775a6605e040dddea21a778a88eaaa57c068d (patch) | |
| tree | 4495649397543853b998e724b0c21a880ce1413d /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | net: hns3: simplify hclgevf_cmd_csq_clean (diff) | |
| download | linux-389775a6605e040dddea21a778a88eaaa57c068d.tar.gz linux-389775a6605e040dddea21a778a88eaaa57c068d.zip | |
net: hns3: add protect when handling mac addr list
It used netdev->uc and netdev->mc list in function
hns3_recover_hw_addr() and hns3_remove_hw_addr().
We should add protect for them.
Fixes: f05e21097121 ("net: hns3: Clear mac vlan table entries when unload driver or function reset")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
