diff options
| author | Yang Yingliang <[email protected]> | 2022-02-23 16:49:53 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-02-24 21:21:20 -0800 |
| commit | d434ee9dee6dc75984897f183df773427a68a1ff (patch) | |
| tree | a292a632db64252c99d9a7db4aed468b7c54fcf5 /include/linux | |
| parent | 06388a03d2a792b017d67457012c4f289bf45e13 (diff) | |
net: marvell: prestera: Fix return value check in prestera_fib_node_find()
rhashtable_lookup_fast() returns NULL pointer not ERR_PTR(), so
it can return fib_node directly in prestera_fib_node_find().
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions