Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 Add XXX. In fact, it would be better, if all th...



details:   https://anonhg.NetBSD.org/src/rev/5b584d0630d0
branches:  trunk
changeset: 831772:5b584d0630d0
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 d3c339710853 -r 5b584d0630d0 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