cvs commit: src/sys/kern uipc_syscalls.c

Sepherosa Ziehau sephe at
Sat Jul 26 08:38:43 PDT 2008

sephe       2008/07/26 08:36:28 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  Bring following change from FreeBSD (yar at
    uipc_syscall.c rev 1.154
    If connect(2) has been interrupted by a signal and therefore the
    connection is to be established asynchronously, behave as in the
    case of non-blocking mode:
    - keep the SS_ISCONNECTING bit set thus indicating that
      the connection establishment is in progress, which is the case
      (clearing the bit in this case was just a bug);
    - return EALREADY, instead of the confusing and unreasonable
      EADDRINUSE, upon further connect(2) attempts on this socket
      until the connection is established (this also brings our
      connect(2) into accord with IEEE Std 1003.1.)
  Tested-by: y0netan1@
  Reviewed-by: hsu@
  Dragonfly-bug: <>
  Revision  Changes    Path
  1.89      +6 -3      src/sys/kern/uipc_syscalls.c

More information about the Commits mailing list