diff options
author | Jian Shen <shenjian15@huawei.com> | 2020-03-12 08:11:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-12 19:38:26 +0100 |
commit | 903b85d3adce99a5301d5959c4d3c9d14a7974d4 (patch) | |
tree | 63e5c49d1cc48386a1a9fd613ee94a3d41874a8a /lib/clz_ctz.c | |
parent | net: hns3: fix VF VLAN table entries inconsistent issue (diff) | |
download | linux-903b85d3adce99a5301d5959c4d3c9d14a7974d4.tar.xz linux-903b85d3adce99a5301d5959c4d3c9d14a7974d4.zip |
net: hns3: fix RMW issue for VLAN filter switch
According to the user manual, the ingress and egress VLAN filter
are configured at the same time. Currently, hclge_init_vlan_config()
and hclge_set_vlan_spoofchk() will both change the VLAN filter
switch. So it's necessary to read the old configuration before
modifying it.
Fixes: 22044f95faa0 ("net: hns3: add support for spoof check setting")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/clz_ctz.c')
0 files changed, 0 insertions, 0 deletions