diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-11-25 04:27:51 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-11-29 14:29:46 +0300 |
commit | e493bec343fa76e95631d0e21fd4a3538aa90c56 (patch) | |
tree | 6fab44c2a6d1dd7454bd34f3c839d5d429199475 /crypto | |
parent | 5daadc86f27ea4d691e2131c04310d0418c6cd12 (diff) | |
download | linux-e493bec343fa76e95631d0e21fd4a3538aa90c56.tar.xz |
net: marvell: prestera: Fix a NULL vs IS_ERR() check in some functions
rhashtable_lookup_fast() returns NULL when failed instead of error
pointer.
Fixes: 396b80cb5cc8 ("net: marvell: prestera: Add neighbour cache accounting")
Fixes: 0a23ae237171 ("net: marvell: prestera: Add router nexthops ABI")
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20221125012751.23249-1-shangxiaojing@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions