summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2001-05-20 15:33:46 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2001-05-20 15:33:46 +0000
commit2bf767799ab1ba86dd40c9396acc899d9c7458dc (patch)
tree0710b1638b6efb23bccad3ed910fb7e148fce4f3
parent5ead33c50f43b24843095d04b25ea82b35634cbb (diff)
Notes
-rw-r--r--sys/netinet6/frag6.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
index 6222e75d1823..458a391b4e4a 100644
--- a/sys/netinet6/frag6.c
+++ b/sys/netinet6/frag6.c
@@ -391,18 +391,24 @@ frag6_input(mp, offp, proto)
i = af6->ip6af_up->ip6af_off + af6->ip6af_up->ip6af_frglen
- ip6af->ip6af_off;
if (i > 0) {
+#if 0 /* suppress the noisy log */
log(LOG_ERR, "%d bytes of a fragment from %s "
"overlaps the previous fragment\n",
i, ip6_sprintf(&q6->ip6q_src));
+#endif
+ free(ip6af, M_FTABLE);
goto dropfrag;
}
}
if (af6 != (struct ip6asfrag *)q6) {
i = (ip6af->ip6af_off + ip6af->ip6af_frglen) - af6->ip6af_off;
if (i > 0) {
+#if 0 /* suppress the noisy log */
log(LOG_ERR, "%d bytes of a fragment from %s "
"overlaps the succeeding fragment",
i, ip6_sprintf(&q6->ip6q_src));
+#endif
+ free(ip6af, M_FTABLE);
goto dropfrag;
}
}