Change pru_rcvd() return type to the type of void. We have no interest
authormvs <mvs@openbsd.org>
Tue, 13 Sep 2022 09:05:47 +0000 (09:05 +0000)
committermvs <mvs@openbsd.org>
Tue, 13 Sep 2022 09:05:47 +0000 (09:05 +0000)
commit61cf011a4e1aa4221a5e8757b87547fcae4bb1d7
treedaccc8a4904967c3d6d0a90844dd3e89944dbc51
parentd0e7fa22981fb5ffbfc2e72b37b65cd04796c339
Change pru_rcvd() return type to the type of void. We have no interest
on pru_rcvd() return value.

Drop "pru_rcvd != NULL" check within pru_rcvd() wrapper. We only call it
if the socket's protocol have PR_WANTRCVD flag set. Such sockets are
route domain, tcp(4) and unix(4) sockets.

ok guenther@ bluhm@
sys/kern/uipc_usrreq.c
sys/net/rtsock.c
sys/netinet/tcp_usrreq.c
sys/netinet/tcp_var.h
sys/sys/protosw.h
sys/sys/unpcb.h