Date: Fri, 8 Apr 2005 08:42:11 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200504080842.j388gBQA023853@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504080842.j388gBQA023853>
