Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 17:38:52 -0800
From:      gdonl@tsc.tdk.com (Don Lewis)
To:        Alfred Perlstein <bright@wintelcom.net>, current@FreeBSD.ORG
Subject:   Re: half-fix for stream.c
Message-ID:  <200001210138.RAA11083@salsa.gv.tsc.tdk.com>
In-Reply-To: Alfred Perlstein <bright@wintelcom.net> "half-fix for stream.c" (Jan 20,  5:41pm)

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 20,  5:41pm, Alfred Perlstein wrote:
} Subject: half-fix for stream.c
} you can find it at:
} 
} http://www.freebsd.org/~alfred/tcp_fix.diff

Don't you want to defer the checksum even further (after the bogus
packets have been dropped)?  It doesn't look like the change you
made will save any unnecessary work.

Also, it looks like you can save a few CPU cycles by only searching
for wildcard sockets if the SYN flag is set, so only set the 6th
argument to in_pcblookup_hash() if (thflags & TH_SYN) is true.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001210138.RAA11083>