cvs commit: src/sys/kern uipc_syscalls.c

Robert Watson rwatson at FreeBSD.org
Thu Feb 17 13:00:24 GMT 2005


rwatson     2005-02-17 13:00:23 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  In accept1(), extend coverage of the socket lock from just covering
  soref() to also covering the update of so_state.  While no other user
  threads can update the socket state here as it's not yet hooked up to
  the file descriptor array yet, the protocol could also frob the
  socket state here, leading to a lost update to the so_state field.
  No reported instances of this bug (as yet).
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.214     +2 -2      src/sys/kern/uipc_syscalls.c


More information about the cvs-src mailing list