Re: [PATCH] 3c59x: Fix resource leaks in vortex_open

From: David Miller
Date: Mon Aug 03 2015 - 18:21:56 EST


From: Jia-Ju Bai <baijiaju1990@xxxxxxx>
Date: Mon, 3 Aug 2015 11:18:12 +0800

> When vortex_up is failed, the skb buffers allocated by __netdev_alloc_skb
> in vortex_open are not released, which may cause resource leaks.
> This bug has been submitted before.
> This patch modifies the error handling code to fix it.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@xxxxxxx>

Applied, thanks.
--
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/