From 87002f0dc1ea01821d2528ebddd35c9d53d1a510 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Fri, 3 Oct 2003 22:06:36 +0000 Subject: [PATCH] hookup ctlinput for fast ipsec versions of esp+ah protocols Supported by: FreeBSD Foundation --- sys/netinet/in_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index 8199df80115..49bdde8321e 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