cvs commit: src/sys/netinet tcp_sack.c

Andrey Chernov ache at nagual.pp.ru
Thu Jun 9 17:51:16 GMT 2005


On Thu, Jun 09, 2005 at 02:01:04PM +0000, Paul Saab wrote:
>   Modified files:
>     sys/netinet          tcp_sack.c 
>   Log:
>   Fix for a crash in tcp_sack_option() caused by hitting the limit on
>   the number of sack holes.

Some cut&paste mistake obviously happens. I see now _two_ identical
tcp_sackhole_insert() in tcp_sack.c v1.23:

                temp = tcp_sackhole_insert(tp, tp->snd_fack,sblkp->start,NULL);
                if (temp == NULL)
                        return 0;
                tcp_sackhole_insert(tp, tp->snd_fack, sblkp->start, NULL);

-- 
http://ache.pp.ru/


More information about the cvs-src mailing list