Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 05/16/2005 15:56:38
Module Name:	src
Committed By:	bouyer
Date:		Mon May 16 15:56:38 UTC 2005

Modified Files:
	src/sys/dev/ic: gem.c gemvar.h

Log Message:
Pad small packets with a static buffer at the end of the S/G list.
Avoids leaking kernel memory when small packets are transmitted.
Tested on a ibook G4.


To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 src/sys/dev/ic/gem.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/ic/gemvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.