Commit fd950221 authored by Yonglong Liu's avatar Yonglong Liu Committed by Laibin Qiu
Browse files

net: hns3: fix pf vlan filter out of work after self test

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


CVE: NA

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

After a self test, the vlan filter of PF is wrongly closed,
cause the vlan filter out of work. The second parameter of
enable_vlan_filter() must pass true, and in enable_vlan_filter(),
it will decide whether to open or keep the status of vlan filter.

Fixes: 79549957 ("Revert: net: hns3: adds support for extended VLAN mode and 'QOS' in vlan 802.1Q protocol.")

Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarLaibin Qiu <qiulaibin@huawei.com>
parent 5b4e1d32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment