Commit c95567c8 authored by Kim Lilliestierna XX's avatar Kim Lilliestierna XX Committed by David S. Miller
Browse files

caif: added check for potential null return

Add check on NULL return from caif_get().
Signed-off-by: default avatarKim Lilliestierna <>
Signed-off-by: default avatarSjur Brændeland <>
Signed-off-by: default avatarDavid S. Miller <>
parent be4852c9
......@@ -128,6 +128,11 @@ void caif_flow_cb(struct sk_buff *skb)
caifd = caif_get(skb->dev);
WARN_ON(caifd == NULL);
if (caifd == NULL)
Markdown is supported
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