summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-22 08:08:48 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-22 08:08:48 +0000
commit0af1c3d044f245e1137f16861c2525bd394025fb (patch)
tree66d0f67dc29457e3fd79c317697487ef2026519e /sys/net/rtsock.c
parentc90552114eeff574042307ddfc5ba12a2cba7add (diff)
Move PRU_ACCEPT request to (*pru_accept)().
ok bluhm@
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 867cacbd73e..8350a4de16e 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.338 2022/08/21 22:45:55 mvs Exp $ */
+/* $OpenBSD: rtsock.c,v 1.339 2022/08/22 08:08:46 mvs Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -234,7 +234,6 @@ route_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
switch (req) {
/* no connect, bind, accept. Socket is connected from the start */
case PRU_CONNECT2:
- case PRU_ACCEPT:
error = EOPNOTSUPP;
break;