diff options
author | Yang Yingliang <[email protected]> | 2021-12-03 15:04:18 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-03 14:19:54 +0000 |
commit | f6882b8fac60f928fda51efc64274463806f956c (patch) | |
tree | 616b1101aa670b0f390521a63bcf02e8ac53b315 /tools/perf/scripts/python | |
parent | ab11393fd004ed048cff93076569e41bb31fe22b (diff) |
net: prestera: acl: fix return value check in prestera_acl_rule_entry_find()
rhashtable_lookup_fast() returns NULL pointer not ERR_PTR().
Return rhashtable_lookup_fast() directly to fix this.
Fixes: 47327e198d42 ("net: prestera: acl: migrate to new vTCAM api")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions