summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-10-03 22:06:36 +0000
committersam <sam@FreeBSD.org>2003-10-03 22:06:36 +0000
commit678d7d93783f9161ce47727c8e23987c819d7ab6 (patch)
tree7b5f57577404af4890636ad7666cc4a931528166 /sys
parent293cc5856c892f796ced6edfc9d703bd6a54d98a (diff)
downloadFreeBSD-src-678d7d93783f9161ce47727c8e23987c819d7ab6.zip
FreeBSD-src-678d7d93783f9161ce47727c8e23987c819d7ab6.tar.gz
hookup ctlinput for fast ipsec versions of esp+ah protocols
Supported by: FreeBSD Foundation
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/in_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c
index 8199df8..49bdde8 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -160,13 +160,13 @@ struct protosw inetsw[] = {
#endif /* IPSEC */
#ifdef FAST_IPSEC
{ SOCK_RAW, &inetdomain, IPPROTO_AH, PR_ATOMIC|PR_ADDR,
- ah4_input, 0, 0, 0,
+ ah4_input, 0, ah4_ctlinput, 0,
0,
0, 0, 0, 0,
&nousrreqs
},
{ SOCK_RAW, &inetdomain, IPPROTO_ESP, PR_ATOMIC|PR_ADDR,
- esp4_input, 0, 0, 0,
+ esp4_input, 0, esp4_ctlinput, 0,
0,
0, 0, 0, 0,
&nousrreqs
OpenPOWER on IntegriCloud