commit | 2fc09962e24ace45154d0c16024f1eb15700f3e8 | [log] [tgz] |
---|---|---|
author | Jia-Ju Bai <baijiaju1990@163.com> | Mon Aug 03 11:18:12 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 03 15:21:33 2015 -0700 |
tree | c189b27bf8d5d5da2e43a84f79701595376548f7 | |
parent | 468b732b6f76b138c0926eadf38ac88467dcd271 [diff] |
3c59x: Fix resource leaks in vortex_open 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@163.com> Signed-off-by: David S. Miller <davem@davemloft.net>