Subject: Re: ipsec pcb/socket passing
To: None <tech-net@NetBSD.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-net
Date: 08/22/2003 17:37:59
small nit: fast-ipsec no longer compiles. The folllwing patch fixes it.


Index: ip_output.c
===================================================================
RCS file: /cvsroot/src/sys/netinet/ip_output.c,v
retrieving revision 1.117
diff -u -r1.117 ip_output.c
--- ip_output.c	2003/08/22 22:00:37	1.117
+++ ip_output.c	2003/08/22 23:05:49
@@ -111,6 +111,9 @@
 #include <sys/protosw.h>
 #include <sys/socket.h>
 #include <sys/socketvar.h>
+#ifdef FAST_IPSEC
+#include <sys/domain.h>		/* XXX struct socket* -> struct inpcb* */
+#endif
 #include <sys/systm.h>
 #include <sys/proc.h>