mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
sit: Add missing kfree_skb() on pskb_may_pull() failure.
Noticed by Paul Marks <paul@pmarks.net>. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f08269d3ec
commit
36ca34cc3b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue