Skip to content
Commit e493bec3 authored by Shang XiaoJing's avatar Shang XiaoJing Committed by Paolo Abeni
Browse files

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: 396b80cb ("net: marvell: prestera: Add neighbour cache accounting")
Fixes: 0a23ae23 ("net: marvell: prestera: Add router nexthops ABI")
Signed-off-by: default avatarShang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20221125012751.23249-1-shangxiaojing@huawei.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 5daadc86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment