Date: Thu, 13 Sep 2007 23:46:26 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 126386 for review Message-ID: <200709132346.l8DNkQDc079783@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126386 Change 126386 by kmacy@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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709132346.l8DNkQDc079783>