PERFORCE change 126386 for review
Kip Macy
kmacy at FreeBSD.org
Thu Sep 13 16:46:27 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126386
Change 126386 by kmacy at kmacy_home:ethng on 2007/09/13 23:45:46
fix bug in CHELSIO_GET_MEM, the user for the buffer isn't contiguous with the command
Affected files ...
.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_main.c#19 edit
Differences ...
==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_main.c#19 (text+ko) ====
@@ -2554,7 +2554,7 @@
* Read 256 bytes at a time as len can be large and we don't
* want to use huge intermediate buffers.
*/
- useraddr = (uint8_t *)(t + 1); /* advance to start of buffer */
+ useraddr = (uint8_t *)t->buf;
while (t->len) {
unsigned int chunk = min(t->len, sizeof(buf));
More information about the p4-projects
mailing list