diff options
author | Jia-Ju Bai <baijiaju1990@163.com> | 2015-08-03 11:18:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-03 15:21:33 -0700 |
commit | 2fc09962e24ace45154d0c16024f1eb15700f3e8 (patch) | |
tree | c189b27bf8d5d5da2e43a84f79701595376548f7 /sound | |
parent | 468b732b6f76b138c0926eadf38ac88467dcd271 (diff) | |
download | talos-obmc-linux-2fc09962e24ace45154d0c16024f1eb15700f3e8.tar.gz talos-obmc-linux-2fc09962e24ace45154d0c16024f1eb15700f3e8.zip |
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 'sound')
0 files changed, 0 insertions, 0 deletions