mbuf leakage with nfs/zfs?

Rick Macklem rmacklem at uoguelph.ca
Fri Mar 5 00:02:04 UTC 2010



On Tue, 2 Mar 2010, Daniel Braniss wrote:

>
> just keep sending insights/pointers and enjoy life
>


You could try this patch for sys/rpc/replay.c. Completely untested and
just typed into email (so don't give it to "patch", just edit the file).

- try adding these 2 lines just before the end of replay_setreply() in
   sys/rpc/replay.c:

-	}
+	} else if (m)
+		m_freem(m);
 	mtx_unlock(&rc->rc_lock);
}

It's the only place I can see in replay.c that might leak, rick



More information about the freebsd-stable mailing list