Re: E1000 mbuf leaks

2015-07-30 Thread hiren panchasara
On 07/27/15 at 01:02P, Hans Petter Selasky 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

Re: E1000 mbuf leaks

2015-07-27 Thread Yonghyeon PYUN
On Mon, Jul 27, 2015 at 01:02:32PM +0200, Hans Petter Selasky 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

E1000 mbuf leaks

2015-07-27 Thread Hans Petter Selasky
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

Re: E1000 mbuf leaks

2015-07-27 Thread Ben Woods
On Monday, July 27, 2015, Hans Petter Selasky h...@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