[BACK]Return to uipc_socket.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/uipc_socket.c between version 1.48 and 1.49

version 1.48, 1999/06/08 02:39:57 version 1.49, 2000/02/07 18:43:26
Line 54 
Line 54 
   
 struct pool socket_pool;  struct pool socket_pool;
   
   extern int somaxconn;                   /* patchable (XXX sysctl) */
   int somaxconn = SOMAXCONN;
   
 void  void
 soinit()  soinit()
 {  {
Line 154  solisten(so, backlog)
Line 157  solisten(so, backlog)
                 so->so_options |= SO_ACCEPTCONN;                  so->so_options |= SO_ACCEPTCONN;
         if (backlog < 0)          if (backlog < 0)
                 backlog = 0;                  backlog = 0;
         so->so_qlimit = min(backlog, SOMAXCONN);          so->so_qlimit = min(backlog, somaxconn);
         splx(s);          splx(s);
         return (0);          return (0);
 }  }

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

CVSweb <webmaster@jp.NetBSD.org>