Skip to content
Snippets Groups Projects
Commit 8fbcec24 authored by YOSHIFUJI Hideaki / 吉藤英明's avatar YOSHIFUJI Hideaki / 吉藤英明 Committed by David S. Miller
Browse files

net: Use IS_ERR_OR_NULL().


Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2724680b
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ flow_cache_lookup(struct net *net, const struct flowi *key, u16 family, u8 dir,
else
fle->genid--;
} else {
if (flo && !IS_ERR(flo))
if (!IS_ERR_OR_NULL(flo))
flo->ops->delete(flo);
}
ret_object:
......
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