cvs commit: src/sys/netinet in_pcb.c

Maxim Konovalov maxim at FreeBSD.org
Fri Apr 8 01:42:11 PDT 2005


maxim       2005-04-08 08:42:11 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in_pcb.c 
  Log:
  o Disable random port allocation when ip.portrange.first ==
  ip.portrange.last and there is the only port for that because:
  a) it is not wise; b) it leads to a panic in the random ip port
  allocation code.  In general we need to disable ip port allocation
  randomization if the last - first delta is ridiculous small.
  
  PR:             kern/79342
  Spotted by:     Anjali Kulkarni
  Glanced at by:  silby
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.162     +6 -0      src/sys/netinet/in_pcb.c


More information about the cvs-src mailing list