Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 20:30:16 GMT
From:      Mike Silbersack <silby@silby.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/79342: When looking for an unused port number for bind or connect, if low & high port range are equal, kernel can trap in divide by zero error
Message-ID:  <200503302030.j2UKUGu8022114@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/79342; it has been noted by GNATS.

From: Mike Silbersack <silby@silby.com>
To: Maxim Konovalov <maxim@macomnet.ru>
Cc: Anjali Kulkarni <anjali@juniper.net>, bug-followup@freebsd.org
Subject: Re: kern/79342: When looking for an unused port number for bind or
 connect, if low & high port range are equal, kernel can trap in divide by
 zero error
Date: Wed, 30 Mar 2005 14:28:15 -0600 (CST)

 On Wed, 30 Mar 2005, Maxim Konovalov wrote:
 
 > It's not perfect because it should turn random port allocation off if
 > the diapason of ports is small but I am not sure yet we need an
 > additional sysctl for that.  Mike, what is your opinion?
 
 If the port range is very small, turning random port allocation off makes 
 sense.  Since we'll have to do a patch either way, we might as well make 
 that change.
 
 Mike "Silby" Silbersack



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