geli(4) memory leak

Victor Balada Diaz victor at
Sun Apr 3 23:52:13 UTC 2011

On Sun, Apr 03, 2011 at 08:43:45PM +0300, Mikolaj Golub wrote:
> On Sat, 2 Apr 2011 12:17:50 +0200 Pawel Jakub Dawidek wrote:
>  PJD> On Sat, Apr 02, 2011 at 12:04:09AM +0300, Mikolaj Golub wrote:
>  >> For me your patch look correct. But the same issue is for read :-). Also, to
>  >> avoid the leak I think we can just do g_destroy_bio() before "all sectors"
>  >> check. See the attached patch (had some testing).
>  PJD> The patch looks good. Please commit.
> Commited, thanks.

I've been out all the weekend, so i've been unable to answer before. I'm glad
it got commited and it's great you discovered and fixed the same problem on the
read path.

Are there any plans to MFC this?

Thanks a lot.

La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 

More information about the freebsd-stable mailing list