CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2022/10/17 08:49:02
Modified files: sys/kern : uipc_usrreq.c sys/net : pfkeyv2.c rtsock.c sys/netinet : ip_divert.c ip_divert.h ip_gre.c ip_var.h raw_ip.c tcp_usrreq.c tcp_var.h udp_usrreq.c udp_var.h sys/netinet6 : ip6_divert.c ip6_divert.h ip6_var.h raw_ip6.c sys/sys : protosw.h unpcb.h Log message: Change pru_abort() return type to the type of void and make pru_abort() optional. We have no interest on pru_abort() return value. We call it only from soabort() which is dummy pru_abort() wrapper and has no return value. Only the connection oriented sockets need to implement (*pru_abort)() handler. Such sockets are tcp(4) and unix(4) sockets, so remove existing code for all others, it doesn't called. ok guenther@