Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

src: Add XXX. In fact, it would be better, if all the fragments ...



details:   https://anonhg.NetBSD.org/src/rev/0ed0411184e1
branches:  trunk
changeset: 318134:0ed0411184e1
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Apr 13 08:55:50 2018 +0000
description:
Add XXX. In fact, it would be better, if all the fragments were offloaded,
to quickly recompute the checksum on the fly, and keep it in the mbuf
header.

diffstat:

 sys/netinet6/frag6.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f3e595251f5d -r 0ed0411184e1 sys/netinet6/frag6.c
--- a/sys/netinet6/frag6.c      Fri Apr 13 08:47:46 2018 +0000
+++ b/sys/netinet6/frag6.c      Fri Apr 13 08:55:50 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frag6.c,v 1.67 2018/03/09 11:57:38 maxv Exp $  */
+/*     $NetBSD: frag6.c,v 1.68 2018/04/13 08:55:50 maxv Exp $  */
 /*     $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $  */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: frag6.c,v 1.67 2018/03/09 11:57:38 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: frag6.c,v 1.68 2018/04/13 08:55:50 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -480,6 +480,7 @@
                        plen += t->m_len;
                }
                m->m_pkthdr.len = plen;
+               /* XXX XXX: clear csum_flags? */
        }
 
        /*



Home | Main Index | Thread Index | Old Index