Don't allow snd_nxt to be set to a value less then snd_una when restoring
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 17 Apr 2007 17:28:04 +0000 (17:28 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 17 Apr 2007 17:28:04 +0000 (17:28 +0000)
commit98cb2337e1000153d84b64a5e9aabbecda8e8dbf
tree8b8693643e1cd3fda26e14038f6fdfbe420a02db
parent4491bca1140e4afed01b04afd143bce44f6b475f
Don't allow snd_nxt to be set to a value less then snd_una when restoring
snd_nxt in the TCP limited transmit code.  This can occur if the code
blocks and acks are processed prior to restoration.

This bug fix is currently unverified.  The possible trigger is running
netstat -an on a machine very heavily loaded with 6000+ network connections.

Reported-by: Peter Avalos <pavalos@theshell.com>
sys/netinet/tcp_input.c