Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Remove a misleading instruction. We don't care ...
details: https://anonhg.NetBSD.org/src/rev/2aa5da47abd2
branches: trunk
changeset: 829433:2aa5da47abd2
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Jan 31 14:16:28 2018 +0000
description:
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.
diffstat:
sys/netinet6/ip6_output.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 3bc22e9cc2d4 -r 2aa5da47abd2 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Wed Jan 31 14:10:11 2018 +0000
+++ b/sys/netinet6/ip6_output.c Wed Jan 31 14:16:28 2018 +0000
@@ -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 @@
*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;
Home |
Main Index |
Thread Index |
Old Index