Folkert van Heusden wrote:
There seems to be a small bug in inet_connection_sock.c: the lowest port
set using sysctl (taken from 'sysctl_local_port_range') is always
skipped in the first iteration.
In inet_csk_get_port one can find this:
if (hashinfo->port_rover < low)
rover = low;
else
rover = hashinfo->port_rover;
do {
rover++;
As you can see the first statement is a ++ causing the first port to
always be skipped.
This has already been fixed three weeks ago by Stephen Hemminger's port
randomization patch.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]