summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsuz <suz@FreeBSD.org>2005-03-02 05:14:15 +0000
committersuz <suz@FreeBSD.org>2005-03-02 05:14:15 +0000
commit081ad05e6e5600268cea90579583b3d52baf534a (patch)
treec82cd8b50eb0b42b98ed334dddfeddf2eb7234b8
parent89cf2871b8fc134ee43cb39af666e7b439b2c5cc (diff)
downloadFreeBSD-src-081ad05e6e5600268cea90579583b3d52baf534a.zip
FreeBSD-src-081ad05e6e5600268cea90579583b3d52baf534a.tar.gz
ignores ICMPv6 code field in case of ICMPv6 Packet-Too-Big (as specified in RFC2463 and draft-ietf-ipngwg-icmp-v3-06.txt)
Obtained from: KAME MFC after: 1 day
-rw-r--r--sys/netinet6/icmp6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 4f62825..a6f0f05 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -469,8 +469,6 @@ icmp6_input(mp, offp, proto)
case ICMP6_PACKET_TOO_BIG:
icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_pkttoobig);
- if (code != 0)
- goto badcode;
/* validation is made in icmp6_mtudisc_update */
OpenPOWER on IntegriCloud