]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: set port base vlan tbl_sta to false before removing old vlan
authorGuangbin Huang <huangguangbin2@huawei.com>
Sat, 11 Jun 2022 12:25:24 +0000 (20:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2022 10:56:01 +0000 (11:56 +0100)
commitd94abfa321e4a5593641a3fc038bac8313928bd4
tree762bb5320d2c5e14b5bf3a35eaeb6f48766328b3
parent80e1e6cf03c6cf9c739ce37202506d69b05c11a0
net: hns3: set port base vlan tbl_sta to false before removing old vlan

When modify port base vlan, the port base vlan tbl_sta needs to set to
false before removing old vlan, to indicate this operation is not finish.

Fixes: 1d81e34465b3 ("net: hns3: fix port base vlan add fail when concurrent with reset")
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c