On Thu, 02 May 2024 23:04:02 +0200,
Vitaliy Makkoveev <m...@openbsd.org> wrote:
> 
> Sorry, I missed this hunk.
> 
> Index: sys/kern/uipc_socket2.c
> ===================================================================
> RCS file: /cvs/src/sys/kern/uipc_socket2.c,v
> diff -u -p -r1.151 uipc_socket2.c
> --- sys/kern/uipc_socket2.c   30 Apr 2024 17:59:15 -0000      1.151
> +++ sys/kern/uipc_socket2.c   2 May 2024 20:58:43 -0000
> @@ -334,7 +334,7 @@ socantsendmore(struct socket *so)
>  void
>  socantrcvmore(struct socket *so)
>  {
> -     if ((so->so_rcv.sb_flags & SB_OWNLOCK) == 0)
> +     if ((so->so_rcv.sb_flags & SB_MTXLOCK) == 0)
>               soassertlocked(so);
>  
>       mtx_enter(&so->so_rcv.sb_mtx);

I can boot with this patch and write this answer.

Thanks!

-- 
wbr, Kirill

Reply via email to