Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/netinet6 Additional change needed for ticket #1041:



details:   https://anonhg.NetBSD.org/src/rev/e14259069784
branches:  netbsd-8
changeset: 852020:e14259069784
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 27 15:57:07 2018 +0000

description:
Additional change needed for ticket #1041:

        sys/netinet6/ip6_var.h (apply patch)

When reassembling IPv4/IPv6 packets, ensure each fragment has been subject
to the same IPsec processing. That is to say, that all fragments are ESP,
or AH, or AH+ESP, or none.

Add ipsec flags to struct ip6q.

diffstat:

 sys/netinet6/ip6_var.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f6f6ba1b4409 -r e14259069784 sys/netinet6/ip6_var.h
--- a/sys/netinet6/ip6_var.h    Thu Sep 27 15:54:21 2018 +0000
+++ b/sys/netinet6/ip6_var.h    Thu Sep 27 15:57:07 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_var.h,v 1.74.6.2 2018/02/11 21:17:34 snj Exp $     */
+/*     $NetBSD: ip6_var.h,v 1.74.6.3 2018/09/27 15:57:07 martin Exp $  */
 /*     $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $        */
 
 /*
@@ -89,6 +89,7 @@
        u_char          *ip6q_nxtp;
 #endif
        int             ip6q_nfrag;     /* # of fragments */
+       int             ip6q_ipsec;     /* IPsec flags */
 };
 
 struct ip6asfrag {



Home | Main Index | Thread Index | Old Index