diff options
author | shin <shin@FreeBSD.org> | 2000-01-15 14:56:38 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-01-15 14:56:38 +0000 |
commit | e7b807d1e39b437dd36a6de181d9c2d3849a440f (patch) | |
tree | 87035964194ab67449df445329b7c03812001b0c /sys/netinet/tcp_input.c | |
parent | e41bceb344bd708fb10d2bc13ac5f056f4baae42 (diff) | |
download | FreeBSD-src-e7b807d1e39b437dd36a6de181d9c2d3849a440f.zip FreeBSD-src-e7b807d1e39b437dd36a6de181d9c2d3849a440f.tar.gz |
Fixed the problem that IPsec connection hangs when bigger data is sent.
-opt_ipsec.h was missing on some tcp files (sorry for basic mistake)
-made buildable as above fix
-also added some missing IPv4 mapped IPv6 addr consideration into
ipsec4_getpolicybysock
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index ec2ddb8..73df9fd 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -36,6 +36,7 @@ #include "opt_ipfw.h" /* for ipfw_fwd */ #include "opt_inet6.h" +#include "opt_ipsec.h" #include "opt_tcpdebug.h" #include "opt_tcp_input.h" @@ -93,6 +94,9 @@ struct tcphdr tcp_savetcp; #ifdef IPSEC #include <netinet6/ipsec.h> +#ifdef INET6 +#include <netinet6/ipsec6.h> +#endif #include <netkey/key.h> #endif /*IPSEC*/ |