linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qed
Sudarsana Reddy Kalluru 4f9de4df90 qed: Fix possible memory leak in Rx error path handling.
Memory for packet buffers need to be freed in the error paths as there is
no consumer (e.g., upper layer) for such packets and that memory will never
get freed.
The issue was uncovered when port was attacked with flood of isatap
packets, these are multicast packets hence were directed at all the PFs.
For foce PF, this meant they were routed to the ll2 module which in turn
drops such packets.

Fixes: 0a7fb11c ("qed: Add Light L2 support")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-20 07:15:34 +09:00
..
Makefile qed: Add support for tlv request processing. 2018-05-22 23:29:53 -04:00
qed_cxt.c qed: use dma_zalloc_coherent instead of allocator/memset 2018-06-04 17:28:43 -04:00
qed_cxt.h qed: Add srq core support for RoCE and iWARP 2018-06-04 17:09:54 -04:00
qed_dcbx.c qed: Add support for Unified Fabric Port. 2018-05-07 23:46:10 -04:00
qed_dcbx.h qed: Correct DCBx update scheme 2017-05-30 12:07:01 -04:00
qed_debug.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
qed_debug.h qed: Utilize FW 8.20.0.0 2017-05-18 13:21:40 -04:00
qed_dev_api.h qed: Read per queue coalesce from hardware 2017-07-27 00:05:22 -07:00
qed_dev.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
qed_fcoe.c qed: Add support for Unified Fabric Port. 2018-05-07 23:46:10 -04:00
qed_fcoe.h qed: Revise alloc/setup/free flow 2017-05-21 12:56:53 -04:00
qed_hsi.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_hw.c qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_hw.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_init_fw_funcs.c qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_init_ops.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
qed_init_ops.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_int.c treewide: Fix typos in printk 2018-03-27 09:51:22 +02:00
qed_int.h qed*: HSI renaming for different types of HW 2018-01-02 13:59:15 -05:00
qed_iscsi.c qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_iscsi.h qed: Revise alloc/setup/free flow 2017-05-21 12:56:53 -04:00
qed_iwarp.c qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_iwarp.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_l2.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
qed_l2.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_ll2.c qed: Fix possible memory leak in Rx error path handling. 2018-06-20 07:15:34 +09:00
qed_ll2.h qed: Add ll2 ability of opening a secondary queue 2017-10-09 10:21:26 -07:00
qed_main.c qed: Add srq core support for RoCE and iWARP 2018-06-04 17:09:54 -04:00
qed_mcp.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
qed_mcp.h qed: Add support for processing iscsi tlv request. 2018-05-22 23:29:54 -04:00
qed_mng_tlv.c qed: Add support for processing iscsi tlv request. 2018-05-22 23:29:54 -04:00
qed_ooo.c qed: Fix iWARP out of order flow 2017-10-19 12:46:43 +01:00
qed_ooo.h qed: Fix iWARP out of order flow 2017-10-19 12:46:43 +01:00
qed_ptp.c qed: Drop the 's' from num_ports_in_engines 2017-05-24 15:17:19 -04:00
qed_rdma.c qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_rdma.h qed: Add srq core support for RoCE and iWARP 2018-06-04 17:09:54 -04:00
qed_reg_addr.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_roce.c qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qed_roce.h qed: Split rdma content between qed_rdma and qed_roce 2017-06-21 15:32:59 -04:00
qed_selftest.c qed: Fix PTT entry leak in the selftest error flow. 2018-03-29 14:29:55 -04:00
qed_selftest.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qed_sp_commands.c qed: Add support for Unified Fabric Port. 2018-05-07 23:46:10 -04:00
qed_sp.h qed: Add support for Unified Fabric Port. 2018-05-07 23:46:10 -04:00
qed_spq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-01-31 14:31:10 -08:00
qed_sriov.c qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qed_sriov.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_vf.c qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qed_vf.h qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qed.h qed: Add driver infrastucture for handling mfw requests. 2018-05-22 23:29:54 -04:00