Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 11:20:00 -0800 (PST)
From:      Thomas Moestl <tmm@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <200301171920.h0HJK0Qg037242@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tmm         2003/01/17 11:20:00 PST

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  Disallow listen() on sockets which are in the SS_ISCONNECTED or
  SS_ISCONNECTING state, returning EINVAL (which is what POSIX mandates
  in this case).
  listen() on connected or connecting sockets would cause them to enter
  a bad state; in the TCP case, this could cause sockets to go
  catatonic or panics, depending on how the socket was connected.
  
  Reviewed by:    -net
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.143     +4 -0      src/sys/kern/uipc_socket.c

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?200301171920.h0HJK0Qg037242>