Date: Thu, 7 Jun 2007 00:28:48 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/de if_de.c Message-ID: <200706070028.l570SmoG039068@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2007-06-07 00:28:48 UTC FreeBSD src repository Modified files: sys/dev/de if_de.c Log: The maxsegsz of a dma tag created in de(4) is TULIP_DATA_PER_DESC bytes. In Rx path it allocates a new mbuf with m_getcl(9) so the length of the mbuf is MCLBYTES which is greater than a segment size specified by the dma tag. This segment size mismatch caused a voluntary panic. Fix the panic by settting the mbuf length to TULIP_DATA_PER_DESC. Reported by: Arne H Juul <arnej AT yahoo-inc DOT com> Tested by: Arne H Juul <arnej AT yahoo-inc DOT com> Revision Changes Path 1.183 +1 -1 src/sys/dev/de/if_de.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706070028.l570SmoG039068>