Fix unreliable sys_setsockopt() with consistent use of M_WAIT
authorjan <jan@openbsd.org>
Sat, 23 Sep 2023 09:17:21 +0000 (09:17 +0000)
committerjan <jan@openbsd.org>
Sat, 23 Sep 2023 09:17:21 +0000 (09:17 +0000)
commita9de4b0b46f2c22f561b99cb11b1bc21b02ff824
treed1a2656551b6fec9b0056e0f918710df9e316f15
parent6332535f639065d7cf3e5fc071339d6e7a72e767
Fix unreliable sys_setsockopt() with consistent use of M_WAIT

Also remove useless NULL check.

ok bluhm@
sys/kern/uipc_syscalls.c