cvs commit: src/sys/kern uipc_socket.c

John Baldwin jhb at FreeBSD.org
Tue Nov 29 23:07:54 GMT 2005


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 at .
  
  Revision  Changes    Path
  1.255     +1 -1      src/sys/kern/uipc_socket.c


More information about the cvs-all mailing list