Move PRU_SEND request to (*pru_send)().
authormvs <mvs@openbsd.org>
Sat, 27 Aug 2022 20:28:01 +0000 (20:28 +0000)
committermvs <mvs@openbsd.org>
Sat, 27 Aug 2022 20:28:01 +0000 (20:28 +0000)
commit90b3510cbffde6fd4ec4508c59aaf4e3ca3c0bdd
tree21a25edca084326126d53327644ecee4f4694181
parentdc827a2681fbba1fb8c0fc3b4d126782d171e0e5
Move PRU_SEND request to (*pru_send)().

The former PRU_SEND error path of gre_usrreq() had `control' mbuf(9)
leak. It was fixed in new gre_send().

The former pfkeyv2_send() was renamed to pfkeyv2_dosend().

ok bluhm@
20 files changed:
sys/kern/uipc_usrreq.c
sys/net/pfkeyv2.c
sys/net/pfkeyv2.h
sys/net/rtsock.c
sys/netinet/ip_divert.c
sys/netinet/ip_divert.h
sys/netinet/ip_gre.c
sys/netinet/ip_gre.h
sys/netinet/ip_var.h
sys/netinet/raw_ip.c
sys/netinet/tcp_usrreq.c
sys/netinet/tcp_var.h
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h
sys/netinet6/ip6_divert.c
sys/netinet6/ip6_divert.h
sys/netinet6/ip6_var.h
sys/netinet6/raw_ip6.c
sys/sys/protosw.h
sys/sys/unpcb.h