diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-09-01 18:21:24 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-09-01 18:21:24 +0000 |
commit | 5f61012cd0cfb8c876252e39ec009382db6a9478 (patch) | |
tree | 73e2d8db7b26cdcc9e71db8a970f657f6a7c360a /sys/net | |
parent | e5894943cd4a3d1d1dad7f6b9ccc07ffc2c65543 (diff) |
Move PRU_CONNECT2 request to (*pru_connect2)().
ok bluhm@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pfkeyv2.c | 7 | ||||
-rw-r--r-- | sys/net/rtsock.c | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c index b1e71cc6c29..a384076d728 100644 --- a/sys/net/pfkeyv2.c +++ b/sys/net/pfkeyv2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2.c,v 1.248 2022/08/31 21:23:02 mvs Exp $ */ +/* $OpenBSD: pfkeyv2.c,v 1.249 2022/09/01 18:21:23 mvs Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) 17 January 1995 @@ -412,11 +412,6 @@ pfkeyv2_usrreq(struct socket *so, int req, struct mbuf *m, } switch (req) { - /* no connect, bind, accept. Socket is connected from the start */ - case PRU_CONNECT2: - error = EOPNOTSUPP; - break; - /* minimal support, just implement a fake peer address */ case PRU_SOCKADDR: error = EINVAL; diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index a5262ec08f8..ce8e46be628 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsock.c,v 1.349 2022/08/31 21:23:02 mvs Exp $ */ +/* $OpenBSD: rtsock.c,v 1.350 2022/09/01 18:21:23 mvs Exp $ */ /* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */ /* @@ -237,11 +237,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: - error = EOPNOTSUPP; - break; - /* minimal support, just implement a fake peer address */ case PRU_SOCKADDR: error = EINVAL; |