Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 18:59:37 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        src-committers@freebsd.org
Cc:        cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <200511291859.38945.jhb@freebsd.org>
In-Reply-To: <200511292307.jATN7EJH055853@repoman.freebsd.org>
References:  <200511292307.jATN7EJH055853@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 29 November 2005 06:07 pm, John Baldwin wrote:
> jhb         2005-11-29 23:07:14 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             uipc_socket.c
>   Log:
>   Fix snderr() to not leak the socket buffer lock if an error occurs in
>   sosend().  Robert accidentally changed the snderr() macro to jump to the
>   out label which assumes the lock is already released rather than the
>   release label which drops the lock in his previous change to sosend().
>   This should fix the recent panics about returning from write(2) with the
>   socket lock held and the most recent LOR on current@.
>
>   Revision  Changes    Path
>   1.255     +1 -1      src/sys/kern/uipc_socket.c

=46orgot:

Tested by:	phk

=2D-=20
John Baldwin <jhb@FreeBSD.org> =A0<>< =A0http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511291859.38945.jhb>