Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36ca34cc authored by David S. Miller's avatar David S. Miller
Browse files

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



Noticed by Paul Marks <paul@pmarks.net>.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f08269d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -596,9 +596,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;
}