summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-09-19 18:29:56 +0100
committerDavid S. Miller <davem@davemloft.net>2018-09-19 21:20:22 -0700
commit49dd80541c75c2f21c28bbbdd958e993b55bf97b (patch)
treeff5c685869c97555c7cc2d27a21e54e68fa2864f /net
parent37dc9cdbdc1bd64bd3b6ea285a9c2e811404dc82 (diff)
net: hns3: Clear client pointer when initialize client failed or unintialize finished
If initialize client failed or finish uninitializing client, we should clear the client pointer. It may cause unexpected result when use uninitialized client. Meanwhile, we also should check whether client exist when uninitialize it. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions