summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/dscc4.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-09-03 11:21:48 +0100
committerDavid S. Miller <davem@davemloft.net>2018-09-03 22:04:45 -0700
commit54e97d117bafa161b08c6ade243a335d92890d94 (patch)
treeee6338e125ccecf52050a4612e176446bc996c2d /drivers/net/wan/dscc4.c
parentfd5f9da3f6583046215d614a87792b46e55785e2 (diff)
downloadlinux-54e97d117bafa161b08c6ade243a335d92890d94.tar.bz2
net: hns3: Fix error of checking used vlan id
PF uses hdev->vlan_table to manage the port vlan table. In function hclge_set_vlan_filter_hw(), it checks whether a vlan id has been used, by foreach all the vport bits. It should use macro HCLGE_VPORT_NUM, not VLAN_N_VID as the foreach condition. Fixes: 6c251711b37f ("net: hns3: Disable vf vlan filter when vf vlan table is full") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/dscc4.c')
0 files changed, 0 insertions, 0 deletions