audit-related slab memory leak in recent -mm kernels?
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Fri Feb 24 20:11:44 UTC 2006
On Fri, 24 Feb 2006 14:40:25 EST, Amy Griffis said:
> That kfree is misplaced. It should be here. Does this solve it on
> your end?
Seems to, with a small tweak..
> if (context->names[i].name)
> __putname(context->names[i].name);
> + kfree(context->names[i].ctx);
+ context->names[i].ctx = NULL;
> + }
Can this thing legitimately get called twice for a given object? I needed the
added line above to shut up a huge flood of 'double kfree'. If this doesn't
ring a bell, I'll go back and catch the dmesg so we can troubleshoot it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20060224/b60616d0/attachment.sig>
More information about the Linux-audit
mailing list