Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: john heasley <firstname.lastname@example.org>
Date: 03/05/2005 18:36:23
Module Name: src
Committed By: heas
Date: Sat Mar 5 18:36:23 UTC 2005
Bail on the h/w checksum for packets that are longer than the ip header
indicates they should be to handle stacks that use uninitialized buffers
for ethernet padding as well as my cisco switch which likes to add
unnecessary pad bytes to the end of it's syn's.
Also clear csum_flags when we bail on the h/w checksum.
While here clean-up a few WS nits and ifdef INET the checksum stuff.
To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 src/sys/dev/ic/hme.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.