[PATCH 2.6] fix yenta memleak

Russell King rmk+lkml at arm.linux.org.uk
Sun Dec 28 19:55:09 GMT 2003


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



More information about the linux-pcmcia mailing list