aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2019-10-04 20:24:39 +0000
committerDavid S. Miller <[email protected]>2019-10-05 01:33:13 +0000
commit1acb8f2a7a9f10543868ddd737e37424d5c36cf4 (patch)
tree4142fcb299d4ec5af3551184a9c453483f4f2e6b /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentnfc: fix memory leak in llcp_sock_bind() (diff)
downloadkernel-1acb8f2a7a9f10543868ddd737e37424d5c36cf4.tar.gz
kernel-1acb8f2a7a9f10543868ddd737e37424d5c36cf4.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions