diff options
author | Jian Shen <shenjian15@huawei.com> | 2025-07-22 20:54:20 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-07-24 11:27:21 +0200 |
commit | 4555f8f8b6aa46940f55feb6a07704c2935b6d6e (patch) | |
tree | e8f835b52fb8ea00c187fc37be4e3cca3c167efc /scripts/lib/kdoc/kdoc_files.py | |
parent | 897e8601b9cff1d054cdd53047f568b0e1995726 (diff) |
net: hns3: fix concurrent setting vlan filter issue
The vport->req_vlan_fltr_en may be changed concurrently by function
hclge_sync_vlan_fltr_state() called in periodic work task and
function hclge_enable_vport_vlan_filter() called by user configuration.
It may cause the user configuration inoperative. Fixes it by protect
the vport->req_vlan_fltr by vport_lock.
Fixes: 2ba306627f59 ("net: hns3: add support for modify VLAN filter state")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250722125423.1270673-2-shaojijie@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions