cvs commit: src/sys/kern uipc_socket2.c

Robert Watson rwatson at FreeBSD.org
Sun Jul 3 01:26:57 GMT 2005


rwatson     2005-02-20 00:54:54 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/kern             uipc_socket2.c 
  Log:
  Merge uipc_socket2.c:1.142 from HEAD to RELENG_5:
  
    date: 2005/02/17 12:53:45;  author: rwatson;  state: Exp;  lines: +1 -1
    In sonewconn(), set the new socket's state to show the protocol-provided
    connection status before inserting the new socket into the listen
    socket's accept queue, or there might be a race in which another thread
    wakes up when the accept lock is released, and sees the socket before its
    state is set correctly.  The wakeup still occurs after the accept lock is
    released.  There have been no diagnoses of this bug in real-world systems
    (as yet).
  
  Revision   Changes    Path
  1.137.2.4  +1 -1      src/sys/kern/uipc_socket2.c



More information about the cvs-src mailing list