Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2005 01:08:51 -0000
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_socket.c src/sys/sys socketvar.h
Message-ID:  <200501241220.j0OCKLKs035600@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-01-24 12:20:21 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
    sys/sys              socketvar.h 
  Log:
  - Convert so_qlen, so_incqlen, so_qlimit fields of struct socket from
    short to unsigned short.
  - Add SYSCTL_PROC() around somaxconn, not accepting values < 1 or > U_SHRTMAX.
  
  Before this change setting somaxconn to smth above 32767 and calling
  listen(fd, -1) lead to a socket, which doesn't accept connections at all.
  
  Reviewed by:    rwatson
  Reported by:    Igor Sysoev
  
  Revision  Changes    Path
  1.226     +23 -2     src/sys/kern/uipc_socket.c
  1.136     +6 -6      src/sys/sys/socketvar.h




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