Make sure scb->lastfound is NULLed out when it matches the entry being
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 3 Feb 2008 21:40:42 +0000 (21:40 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 3 Feb 2008 21:40:42 +0000 (21:40 +0000)
commit9e3d6c9645ed28ef5b07a9b13e380e13a86deeb8
treeb48d50a9646e99142defda5206f051366528a33a
parent28b8d48f9531a026647d8919d9a807830d57071f
Make sure scb->lastfound is NULLed out when it matches the entry being
removed from the scb->sackblocks list.  Fix two places where this was not
occuring, leading to memory and list corruption.

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