summaryrefslogtreecommitdiffstats
path: root/sys/net/pfkey.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2016-09-05 15:12:29 +0000
committerclaudio <claudio@openbsd.org>2016-09-05 15:12:29 +0000
commitdd20b3486bfce1ed44e8e2e1c9d29df24fc1bc8f (patch)
tree74f4c7f5c61103ca8ab53c1c93e0e58eaa37ec32 /sys/net/pfkey.c
parentPrint route labels in double quotes since they can contain spaces in the name. (diff)
downloadwireguard-openbsd-dd20b3486bfce1ed44e8e2e1c9d29df24fc1bc8f.tar.xz
wireguard-openbsd-dd20b3486bfce1ed44e8e2e1c9d29df24fc1bc8f.zip
Kill raw_ctlinput() this function is INCOMPLETE since rev 1.1 and is not
needed. All callers using the protosw pr_ctlinput pointer do a NULL check before so there is no need to provide the function.
Diffstat (limited to 'sys/net/pfkey.c')
-rw-r--r--sys/net/pfkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkey.c b/sys/net/pfkey.c
index f4b8e7608e9..22a1e652179 100644
--- a/sys/net/pfkey.c
+++ b/sys/net/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.30 2016/08/15 11:35:25 dlg Exp $ */
+/* $OpenBSD: pfkey.c,v 1.31 2016/09/05 15:12:30 claudio Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -278,7 +278,7 @@ static struct protosw pfkey_protosw_template = {
PR_ATOMIC | PR_ADDR,
(void *) raw_input,
(void *) pfkey_output,
- (void *) raw_ctlinput,
+ NULL, /* ctlinput */
NULL, /* ctloutput */
pfkey_usrreq,
NULL, /* init */