Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 08:58:56 -0800 (PST)
From:      Bill Fenner <fenner@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c src/sys/sys socketvar.h
Message-ID:  <199901251658.IAA93894@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
fenner      1999/01/25 08:58:56 PST

  Modified files:
    sys/kern             uipc_socket.c uipc_socket2.c 
    sys/sys              socketvar.h 
  Log:
  Port NetBSD's 19990120-accept bug fix.  This works around the race condition
  where select(2) can return that a listening socket has a connected socket
  queued, the connection is broken, and the user calls accept(2), which then
  blocks because there are no connections queued.
  
  Reviewed by:	wollman
  Obtained from:	NetBSD
  (ftp://ftp.NetBSD.ORG/pub/NetBSD/misc/security/patches/19990120-accept)
  
  Revision  Changes    Path
  1.52      +15 -3     src/sys/kern/uipc_socket.c
  1.44      +2 -2      src/sys/kern/uipc_socket2.c
  1.33      +2 -1      src/sys/sys/socketvar.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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