diff options
author | Jian Shen <shenjian15@huawei.com> | 2020-03-12 15:11:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-12 11:38:26 -0700 |
commit | 903b85d3adce99a5301d5959c4d3c9d14a7974d4 (patch) | |
tree | 63e5c49d1cc48386a1a9fd613ee94a3d41874a8a /drivers/rpmsg/Kconfig | |
parent | 23b4201dead410c4a5108a8e723240419ab75257 (diff) |
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 'drivers/rpmsg/Kconfig')
0 files changed, 0 insertions, 0 deletions