cvs commit: src/sys/kern uipc_socket.c

Robert Watson rwatson at FreeBSD.org
Wed Nov 30 09:20:40 GMT 2005


On Tue, 29 Nov 2005, John Baldwin wrote:

>  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 at .

Thanks for fixing this -- I ran this patch in testing for ages, but must 
have done some "clean up" or other such 99.85% harmless activity :-(.

Robert N M Watson


More information about the cvs-src mailing list