lkml.org 
[lkml]   [1998]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: An obscure bug in tcp_ipv4.c
   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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.115 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site