Date: Sat, 28 Mar 2009 06:22:11 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ed if_ed.c Message-ID: <200903280622.n2S6MDDC066942@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2009-03-28 06:22:11 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed.c Log: SVN rev 190488 on 2009-03-28 06:22:11Z by imp When reading via memory, read in (amount + 1) / 2 (to properly round up) rather than amount + 1 / 2, which is the same as amount, or 2x too many words which leads to data corruption. # This fixes the sbdrop panics I was seeing with the Toshiba LANCT00A. Revision Changes Path 1.275 +1 -1 src/sys/dev/ed/if_ed.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903280622.n2S6MDDC066942>