commit | 36ca34cc3b8335eb1fe8bd9a1d0a2592980c3f02 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Thu May 08 23:40:26 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 08 23:40:26 2008 -0700 |
tree | dbe2a3ddaa143ef1c9d46ccaa0ce9774c2b9a2a5 | |
parent | f08269d3ecbb9300aeeb2d4272580f660afe9db9 [diff] [blame] |
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>
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 4b2f103..5a6fab9 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c
@@ -596,9 +596,9 @@ } icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); - kfree_skb(skb); read_unlock(&ipip6_lock); out: + kfree_skb(skb); return 0; }