Commit 757e5e59 authored by Yonglong Liu's avatar Yonglong Liu
Browse files

net: hns3: fix port vlan filter not disabled problem in dynamic vlan mode

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9D6UN


CVE: NA

-----------------------------------------------------------------------

The driver set port vlan filter to "on" when initialized, and
than set port vlan filter to "off" in service task if in dynamic
vlan mode. Between this two settings, if user set a vlan to the
port, the port vlan filter is remain in "on" status, which is
not expected.

To fix the problem, if in dynamic vlan mode, set the port vlan
filter to "off".

Fixes: 7d2c54d8 ("net: hns3: disable port VLAN filter when support function level VLAN filter control")
Fixes: b241115b ("net: hns3: add support for modify VLAN filter state")
Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
parent bca07979
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment