diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-10-04 23:24:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-05 04:33:13 +0300 |
commit | 1acb8f2a7a9f10543868ddd737e37424d5c36cf4 (patch) | |
tree | 4142fcb299d4ec5af3551184a9c453483f4f2e6b /scripts/gdb/linux/utils.py | |
parent | a0c2dc1fe63e2869b74c1c7f6a81d1745c8a695d (diff) | |
download | linux-1acb8f2a7a9f10543868ddd737e37424d5c36cf4.tar.xz |
net: qlogic: Fix memory leak in ql_alloc_large_buffers
In ql_alloc_large_buffers, a new skb is allocated via netdev_alloc_skb.
This skb should be released if pci_dma_mapping_error fails.
Fixes: 0f8ab89e825f ("qla3xxx: Check return code from pci_map_single() in ql_release_to_lrg_buf_free_list(), ql_populate_free_queue(), ql_alloc_large_buffers(), and ql3xxx_send()")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions