cvs commit: src/sys/netinet in_pcb.c

Mike Silbersack silby at FreeBSD.org
Mon Apr 19 23:45:12 PDT 2004


silby       2004/04/19 23:45:10 PDT

  FreeBSD src repository

  Modified files:
    sys/netinet          in_pcb.c 
  Log:
  Switch from using sequential to random ephemeral port allocation,
  implementation taken directly from OpenBSD.
  
  I've resisted committing this for quite some time because of concern over
  TIME_WAIT recycling breakage (sequential allocation ensures that there is a
  long time before ports are recycled), but recent testing has shown me that
  my fears were unwarranted.
  
  Revision  Changes    Path
  1.143     +28 -6     src/sys/netinet/in_pcb.c


More information about the cvs-src mailing list