E1000 mbuf leaks

Ben Woods woodsb02 at gmail.com
Mon Jul 27 14:54:26 UTC 2015


On Monday, July 27, 2015, Hans Petter Selasky <hps at selasky.org> wrote:

> Hi,
>
> I'm currently doing some busdma work, and possibly stepped over some
> driver bugs. When "bus_dmamap_load_mbuf_sg()" returns ENOMEM the mbuf chain
> is not freed. Is there some magic in "bus_dmamap_load_mbuf_sg()" for that
> error code or is there a possible memory leak in all E1000 drivers? See
> attached patch.


Would this explain the high mbuf usage seen on pfsense when using the
igb(4) or em(4) Intel NIC drivers?


https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards#Intel_igb.284.29_and_em.284.29_Cards

Regards,
Ben


-- 

--
From: Benjamin Woods
woodsb02 at gmail.com


More information about the freebsd-current mailing list