Date: Sun, 20 Apr 2008 15:12:02 -0700 (PDT) From: Barney Cordoba <barney_cordoba@yahoo.com> To: current@freebsd.org Subject: mbuf strange behavior, panics using em driver Message-ID: <378903.13017.qm@web63913.mail.re1.yahoo.com>
next in thread | raw e-mail | index | archive | help
I've encountered some regular panics in bus_dmamap_load_mbuf_sg() and also complaints from the ethernet code about packets without packet headers. I've traced it to mbufs that are "freed" in filter code. Strangely, I set up a test where I steal packets (as if pfil grabbed the packet) and return NULL without freeing the mbuf. Yet the mbufs continue to be used over and over again (I'm monitoring the mbuf addresses in ether_input()). Its as if the em driver is using the mbuf continuously whether its been freed or not. I also don't see mbuf cluster in use count going up as I should with a forced memory leak. What is going on? Barney ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378903.13017.qm>