Re: An obscure bug in tcp_ipv4.c

David S. Miller (davem@dm.cobaltmicro.com)
Mon, 30 Nov 1998 09:20:56 -0800


Date: Wed, 25 Nov 1998 22:02:00 +0200
From: Nimrod Zimerman <zimerman@deskmail.com>

When trying to locate an unused socket, a calculation of the number of
potentially unused sockets is made, using 'high - low'. This is incorrect, and
should be 'high - low + 1'.

...

The enclosed patch fixes this, and is very obvious:

Thanks, patch applied.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/