CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/10/03 10:43:52
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c uipc_usrreq.c
sys/net : pfkeyv2.c rtsock.c
sys/netinet : in_pcb.c in_pcb.h ip_divert.c ip_divert.h
ip_var.h raw_ip.c tcp_input.c tcp_subr.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 socketvar.h unpcb.h
Log message:
System calls should not fail due to temporary memory shortage in
malloc(9) or pool_get(9).
Pass down a wait flag to pru_attach(). During syscall socket(2)
it is ok to wait, this logic was missing for internet pcb. Pfkey
and route sockets were already waiting.
sonewconn() must not wait when called during TCP 3-way handshake.
This logic has been preserved. Unix domain stream socket connect(2)
can wait until the other side has created the socket to accept.
OK mvs@