aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2021-08-26 19:21:58 +0800
committerJakub Kicinski <kuba@kernel.org>2021-08-26 07:24:17 -0700
commit94391fae82f71c98ecc7716a32611fcca73c74eb (patch)
tree738c8ebbb8339cf97accc5eace1fd157f767c72a /drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
parentnet: hns3: fix speed unknown issue in bond 4 (diff)
downloadlinux-dev-94391fae82f71c98ecc7716a32611fcca73c74eb.tar.xz
linux-dev-94391fae82f71c98ecc7716a32611fcca73c74eb.zip
net: hns3: fix duplicate node in VLAN list
VLAN list should not be added duplicate VLAN node, otherwise it would cause "add failed" when restore VLAN from VLAN list, so this patch adds VLAN ID check before adding node into VLAN list. Fixes: c6075b193462 ("net: hns3: Record VF vlan tables") Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c')
0 files changed, 0 insertions, 0 deletions