diff options
| author | Jian Shen <[email protected]> | 2025-07-22 12:54:20 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-07-24 09:27:21 +0000 |
| commit | 4555f8f8b6aa46940f55feb6a07704c2935b6d6e (patch) | |
| tree | e8f835b52fb8ea00c187fc37be4e3cca3c167efc /net/core/dev_api.c | |
| parent | s390/ism: fix concurrency management in ism_cmd() (diff) | |
| download | kernel-4555f8f8b6aa46940f55feb6a07704c2935b6d6e.tar.gz kernel-4555f8f8b6aa46940f55feb6a07704c2935b6d6e.zip | |
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 <[email protected]>
Signed-off-by: Jijie Shao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
