Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f6882b8f authored by Yang Yingliang's avatar Yang Yingliang Committed by David S. Miller
Browse files

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: 47327e19

 ("net: prestera: acl: migrate to new vTCAM api")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ab11393f
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment