linux_dsm_epyc7002/drivers/net/ethernet/qlogic
Navid Emamdoost 1acb8f2a7a 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: 0f8ab89e82 ("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>
2019-10-04 18:33:13 -07:00
..
netxen net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
qed RDMA subsystem updates for 5.4 2019-09-21 10:26:24 -07:00
qede qede: qede_fp: simplify a bit 'qede_rx_build_skb()' 2019-09-21 20:15:03 -07:00
qlcnic net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
Kconfig qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c net: qlogic: Fix memory leak in ql_alloc_large_buffers 2019-10-04 18:33:13 -07:00
qla3xxx.h