[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191004.183552.2267048284594964377.davem@davemloft.net>
Date: Fri, 04 Oct 2019 18:35:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: navid.emamdoost@...il.com
Cc: emamd001@....edu, kjlu@....edu, smccaman@....edu,
GR-Linux-NIC-Dev@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: qlogic: Fix memory leak in ql_alloc_large_buffers
From: Navid Emamdoost <navid.emamdoost@...il.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@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists