Run connect(2) in parallel within inet doamin.
authorbluhm <bluhm@openbsd.org>
Wed, 3 Jan 2024 11:07:04 +0000 (11:07 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 3 Jan 2024 11:07:04 +0000 (11:07 +0000)
commit38afab8ccedc312276b4df1265f7e30bd884e708
treeabd483b0c77b368d244a78642e72e16ef35630aa
parentb98228b267823b1070a646dd33a2951b3fcc0082
Run connect(2) in parallel within inet doamin.

This unlocks soconnect() for UDP, rip, rip6 and divert.  It takes
shared net lock in combination with per socket lock.  TCP and GRE
still use exclusive net lock when connecting.

OK mvs@
sys/kern/uipc_syscalls.c
sys/netinet/in_pcb.h