diff options
author | Jia-Ju Bai <baijiaju1990@163.com> | 2015-08-03 06:18:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-04 01:21:33 +0300 |
commit | 2fc09962e24ace45154d0c16024f1eb15700f3e8 (patch) | |
tree | c189b27bf8d5d5da2e43a84f79701595376548f7 /net | |
parent | 468b732b6f76b138c0926eadf38ac88467dcd271 (diff) | |
download | linux-2fc09962e24ace45154d0c16024f1eb15700f3e8.tar.xz |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions