]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: hns3: fix wrong judgment condition issue
authorJijie Shao <shaojijie@huawei.com>
Thu, 7 Mar 2024 01:01:08 +0000 (09:01 +0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:39 +0000 (18:19 -0400)
commita8cbdc98b37ee04f698754e479a2a55e6e691838
tree035203d01deab9e11dc475288cf4dcd67790e2db
parent589ec16174dd9378953b8232ae76fad0a96e1563
net: hns3: fix wrong judgment condition issue

[ Upstream commit 07a1d6dc90baedcf5d713e2b003b9e387130ee30 ]

In hns3_dcbnl_ieee_delapp, should check ieee_delapp not ieee_setapp.
This path fix the wrong judgment.

Fixes: 0ba22bcb222d ("net: hns3: add support config dscp map to tc")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c