Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec Restore TCP header inclusions for ...



details:   https://anonhg.NetBSD.org/src/rev/608da18befce
branches:  trunk
changeset: 319025:608da18befce
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon May 14 02:16:29 2018 +0000
description:
Restore TCP header inclusions for TCP_SIGNATURE

diffstat:

 sys/netipsec/xform_tcp.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 047dbab7858d -r 608da18befce sys/netipsec/xform_tcp.c
--- a/sys/netipsec/xform_tcp.c  Mon May 14 00:26:02 2018 +0000
+++ b/sys/netipsec/xform_tcp.c  Mon May 14 02:16:29 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xform_tcp.c,v 1.20 2018/05/11 13:50:38 maxv Exp $ */
+/*     $NetBSD: xform_tcp.c,v 1.21 2018/05/14 02:16:29 ozaki-r Exp $ */
 /*     $FreeBSD: xform_tcp.c,v 1.1.2.1 2004/02/14 22:24:09 bms Exp $ */
 
 /*
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_tcp.c,v 1.20 2018/05/11 13:50:38 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_tcp.c,v 1.21 2018/05/14 02:16:29 ozaki-r Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -49,6 +49,11 @@
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/ip_var.h>
+#ifdef TCP_SIGNATURE
+#include <netinet/tcp_timer.h>
+#include <netinet/tcp.h>
+#include <netinet/tcp_var.h>
+#endif
 
 #include <netipsec/ipsec.h>
 #include <netipsec/xform.h>



Home | Main Index | Thread Index | Old Index