Module Name: src
Committed By: maxv
Date: Wed Jan 31 14:16:28 UTC 2018
Modified Files:
src/sys/netinet6: ip6_output.c
Log Message:
Remove a misleading instruction. We don't care about increasing
m_pkthdr.len in ip6_insertfraghdr(), it gets recomputed after calling
this function.
If we cared there would be a bug, since we don't increase it in the
other branches.
To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/netinet6/ip6_output.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet6/ip6_output.c
diff -u src/sys/netinet6/ip6_output.c:1.198 src/sys/netinet6/ip6_output.c:1.199
--- src/sys/netinet6/ip6_output.c:1.198 Wed Jan 31 14:10:11 2018
+++ src/sys/netinet6/ip6_output.c Wed Jan 31 14:16:28 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_output.c,v 1.198 2018/01/31 14:10:11 maxv Exp $ */
+/* $NetBSD: ip6_output.c,v 1.199 2018/01/31 14:16:28 maxv Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.198 2018/01/31 14:10:11 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.199 2018/01/31 14:16:28 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1280,7 +1280,6 @@ ip6_insertfraghdr(struct mbuf *m0, struc
*frghdrp = (struct ip6_frag *)(mtod(mlast, char *) +
mlast->m_len);
mlast->m_len += sizeof(struct ip6_frag);
- m->m_pkthdr.len += sizeof(struct ip6_frag);
} else {
/* allocate a new mbuf for the fragment header */
struct mbuf *mfrg;