Messages in this thread | | | Date | Fri, 04 Oct 2019 18:35:52 -0700 (PDT) | Subject | Re: [PATCH] net: qlogic: Fix memory leak in ql_alloc_large_buffers | From | David Miller <> |
| |
From: Navid Emamdoost <navid.emamdoost@gmail.com> Date: Fri, 4 Oct 2019 15:24:39 -0500
> 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>
Applied and queued up for -stable.
| |