Paul Traina 4195b4af58 If the incomplete listen queue for a given socket is full,
drop the oldest entry in the queue.

There was a fair bit of discussion as to whether or not the
proper action is to drop a random entry in the queue.  It's
my conclusion that a random drop is better than a head drop,
however profiling this section of code (done by John Capo)
shows that a head-drop results in a significant performance
increase.

There are scenarios where a random drop is more appropriate.
If I find one in reality, I'll add the random drop code under
a conditional.

Obtained from: discussions and code done by Vernon Schryver (vjs@sgi.com).
1996-09-20 21:25:18 +00:00
..
1996-06-12 05:11:41 +00:00
1995-05-30 08:16:23 +00:00
1996-06-20 15:41:23 +00:00
1994-08-21 05:27:42 +00:00
1995-05-30 08:16:23 +00:00
1994-08-21 05:27:42 +00:00