Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/hns3: fix double decrement of secondary count
[ upstream commit c687877 ] The "secondary_cnt" indicates the number of secondary processes on an Ethernet device. But the variable is double subtracted when detach the device in secondary processes. Fixes: ff6dc76 ("net/hns3: refactor multi-process initialization") Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
- Loading branch information