Re: [PATCH 2.6] fix yenta memleak

From: Russell King
Date: Sun Dec 28 2003 - 14:56:59 EST


On Sun, Dec 28, 2003 at 06:52:14PM +0100, Daniel Ritz wrote:
> fix a memleak on yenta_socket unload.
> against 2.6.0

This looks fine; we don't allow the unload to continue until we've
made sure that sysfs has finished using sock, which prevents us
kfree'ing it while it's still in use.

I'll add this to the outgoing queue of pcmcia patches. Thanks.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/