summaryrefslogtreecommitdiff
path: root/sys/net/pfkeyv2.c
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-21 17:30:22 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-21 17:30:22 +0000
commit9045daea072a1c0ebf4e5bf7cfe83a8cc3f84800 (patch)
tree79e848082c394250cd93c80c4e0461eba71f89fc /sys/net/pfkeyv2.c
parent766be663b1d7c26a6839928ba8f80e7e18fc020b (diff)
Move PRU_LISTEN request to (*pru_listen)() handler.
ok bluhm@
Diffstat (limited to 'sys/net/pfkeyv2.c')
-rw-r--r--sys/net/pfkeyv2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c
index 00e12d2041c..e61ca87f4bd 100644
--- a/sys/net/pfkeyv2.c
+++ b/sys/net/pfkeyv2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.c,v 1.236 2022/08/20 23:48:57 mvs Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.237 2022/08/21 17:30:21 mvs Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -359,7 +359,6 @@ pfkeyv2_usrreq(struct socket *so, int req, struct mbuf *m,
/* no connect, bind, accept. Socket is connected from the start */
case PRU_CONNECT:
case PRU_CONNECT2:
- case PRU_LISTEN:
case PRU_ACCEPT:
error = EOPNOTSUPP;
break;