diff options
| author | Hideaki Yoshifuji <yoshfuji@linux-ipv6.org> | 2002-11-21 06:00:34 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2002-11-21 06:00:34 -0800 |
| commit | 348f821c71f2bc87e7eb3e7aae44cbce59f288b6 (patch) | |
| tree | ee673341f2a76bcfee73cdf58fefcdadce1f63b6 | |
| parent | 7405713a81d1dff2d970b63c1d01d5a4a23ff399 (diff) | |
[PATCH] IPv6: Fix BUG When Received Unknown Protocol.
| -rw-r--r-- | net/ipv6/ip6_input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c index 89b6a966c8f5..1c4d56103357 100644 --- a/net/ipv6/ip6_input.c +++ b/net/ipv6/ip6_input.c @@ -182,9 +182,10 @@ resubmit: if (!raw_sk) { IP6_INC_STATS_BH(Ip6InUnknownProtos); icmpv6_param_prob(skb, ICMPV6_UNK_NEXTHDR, nhoff); - } else + } else { IP6_INC_STATS_BH(Ip6InDelivers); - kfree_skb(skb); + kfree_skb(skb); + } } return 0; |
