OSDN Git Service

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)
commitb7cf22b74a3f58933d652237503f4e53fb3791f9
tree225fad344a9dd5ad5415b0672c339eb965ac9fad
parent525a294e6080a6d99722e58419a6830754b57ff3
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