On Thu, Mar 17, 2022 at 12:47:15AM +0100, Alexander Bluhm wrote: > My previous atempt to add a mutex to in_pcb.h was reverted as it > broke userland build.
This diff passes make release and regress test. I would like to commit it to proceed with pcb locking. Generally fixing sysctl includes is out of my scope. ok? bluhm Index: sys/netinet/in_pcb.h =================================================================== RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/in_pcb.h,v retrieving revision 1.125 diff -u -p -r1.125 in_pcb.h --- sys/netinet/in_pcb.h 14 Mar 2022 22:38:43 -0000 1.125 +++ sys/netinet/in_pcb.h 18 Mar 2022 16:17:54 -0000 @@ -65,6 +65,7 @@ #define _NETINET_IN_PCB_H_ #include <sys/queue.h> +#include <sys/mutex.h> #include <sys/refcnt.h> #include <netinet/ip6.h> #include <netinet6/ip6_var.h>