Slipping in the window update

Mike Silbersack silby at silby.com
Mon Jan 10 02:01:34 PST 2005


On Mon, 10 Jan 2005, Mike Silbersack wrote:

> We could do something there like
>
> if (th->th_seq != tp->irs) {
> 	goto dropafterack; /* Or however we handle these bad syns */
> } else {
> thflags &= ~TH_SYN;
> th->th_seq++;
> if (th->th_urp > 1)
> 	th->th_urp--;
> else
> 	thflags &= ~TH_URG;
> todrop--;
> }

Uh, I greatly oversimplified the changes that would be needed there, so 
that implementation would be totally wrong.  I'll go get some sleep and 
then think about the implementation...

Mike "Silby" Silbersack


More information about the freebsd-net mailing list