summaryrefslogtreecommitdiff
path: root/sys/netinet6/icmp6.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2005-01-17 10:18:04 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2005-01-17 10:18:04 +0000
commitb793aa8e209a1503d1f66b400cb94bccfc86dc1a (patch)
tree3aef4097ae872230c86ddab390ada228ed9c19f1 /sys/netinet6/icmp6.c
parent71324d5ff83bef04f0312f38c3bb072c583066bb (diff)
should not check "code" field on icmp6 too big message. from kame
Diffstat (limited to 'sys/netinet6/icmp6.c')
-rw-r--r--sys/netinet6/icmp6.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 53292a309bb..746ec6b2fe0 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.83 2004/06/21 23:50:37 tholo Exp $ */
+/* $OpenBSD: icmp6.c,v 1.84 2005/01/17 10:18:03 itojun Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -510,8 +510,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;
code = PRC_MSGSIZE;