]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add client node validity judgment
authorPeng Li <lipeng321@huawei.com>
Thu, 5 Sep 2019 13:31:39 +0000 (21:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Sep 2019 13:20:34 +0000 (15:20 +0200)
commit5fac9797ac1ef9e51cd3cd2672815df290a7225e
tree225fad344a9dd5ad5415b0672c339eb965ac9fad
parent95597f4fbc47def16d54152a18188969c9576e14
net: hns3: add client node validity judgment

HNS3 driver can only unregister client which included in hnae3_client_list.
This patch adds the client node validity judgment.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.c