diff options
author | Jijie Shao <shaojijie@huawei.com> | 2024-03-07 09:01:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-08 12:01:32 +0000 |
commit | 03f92287b251de318f3b93f5c1e0cb6ccc87b011 (patch) | |
tree | e010af2cf84f72321a17a19c5f5d783ba2deb7a5 /drivers/w1 | |
parent | 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3 (diff) | |
download | linux-stable-03f92287b251de318f3b93f5c1e0cb6ccc87b011.tar.gz linux-stable-03f92287b251de318f3b93f5c1e0cb6ccc87b011.tar.bz2 linux-stable-03f92287b251de318f3b93f5c1e0cb6ccc87b011.zip |
net: hns3: fix delete tc fail issue
When the tc is removed during reset, hns3 driver will return a errcode.
But kernel ignores this errcode, As a result,
the driver status is inconsistent with the kernel status.
This patch retains the deletion status when the deletion fails
and continues to delete after the reset to ensure that
the status of the driver is consistent with that of kernel.
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions