diff options
author | Jian Shen <shenjian15@huawei.com> | 2019-12-05 03:12:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-05 23:42:43 +0100 |
commit | 1c9855085ebaaa2efcf368bee038e4811015abbd (patch) | |
tree | bc30a5c307a3a613ccf40198c97c2c68e21378c7 /drivers/pinctrl/sh-pfc | |
parent | net: hns3: fix a use after free problem in hns3_nic_maybe_stop_tx() (diff) | |
download | linux-1c9855085ebaaa2efcf368bee038e4811015abbd.tar.xz linux-1c9855085ebaaa2efcf368bee038e4811015abbd.zip |
net: hns3: fix VF ID issue for setting VF VLAN
Previously, when set VF VLAN with command "ip link set <pf name>
vf <vf id> vlan <vlan id>", the VF ID 0 is handled as PF incorrectly,
which should be the first VF. This patch fixes it.
Fixes: 21e043cd8124 ("net: hns3: fix set port based VLAN for PF")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl/sh-pfc')
0 files changed, 0 insertions, 0 deletions