Commit 1be05a5e authored by David S. Miller's avatar David S. Miller Committed by Greg Kroah-Hartman
Browse files

sit: Add missing kfree_skb() on pskb_may_pull() failure.

[ Upstream commit: 36ca34cc

 ]

Noticed by Paul Marks <paul@pmarks.net>.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a864928f
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -446,9 +446,9 @@ static int ipip6_rcv(struct sk_buff *skb)
}
icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0);
kfree_skb(skb);
read_unlock(&ipip6_lock);
out:
kfree_skb(skb);
return 0;
}
......
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