[PATCH] smc91x: fix possible leak of the skb waiting for mem allocation
From: Nicolas Pitre <nico@cam.org> Free the pending TX skb inside smc_reset() rather than doing it where smc_reset() is called. Worse, some places just didn't care. Also do it when closing the driver. Signed-off-by:Nicolas Pitre <nico@cam.org> Signed-off-by:
Andrew Morton <akpm@osdl.org>
Showing
Please register or sign in to comment