linux-stable/drivers/net/ethernet/qlogic/qed
zhangyue 0435a4d080 net: qed: fix the array may be out of bound
If the variable 'p_bit->flags' is always 0,
the loop condition is always 0.

The variable 'j' may be greater than or equal to 32.

At this time, the array 'p_aeu->bits[32]' may be out
of bound.

Signed-off-by: zhangyue <zhangyue1@kylinos.cn>
Link: https://lore.kernel.org/r/20211125113610.273841-1-zhangyue1@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-11-26 11:29:20 -08:00
..
Makefile qed: Add NVMeTCP Offload IO Level FW Initializations 2021-06-03 14:04:17 -07:00
qed.h qed: Update debug related changes 2021-10-04 12:55:49 +01:00
qed_chain.c
qed_cxt.c qed: Remove e4_ and _e4 from FW HSI 2021-10-04 12:55:48 +01:00
qed_cxt.h qed: Update debug related changes 2021-10-04 12:55:49 +01:00
qed_dbg_hsi.h qed: Split huge qed_hsi.h header file 2021-10-04 12:55:48 +01:00
qed_dcbx.c net: qed: remove unneeded return variables 2021-07-27 11:55:19 +01:00
qed_dcbx.h qed: Split huge qed_hsi.h header file 2021-10-04 12:55:48 +01:00
qed_debug.c net: qed_debug: fix check of false (grc_param < 0) expression 2021-10-13 08:42:01 -07:00
qed_debug.h qed: Update debug related changes 2021-10-04 12:55:49 +01:00
qed_dev.c net: qed_dev: fix check of true !rc expression 2021-10-25 19:11:13 -07:00
qed_dev_api.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qed_devlink.c qed: Move devlink registration to be last devlink command 2021-09-27 16:31:59 +01:00
qed_devlink.h
qed_fcoe.c qed: Add '_GTT' suffix to the IRO RAM macros 2021-10-04 12:55:49 +01:00
qed_fcoe.h
qed_hsi.h qed: Update qed_hsi.h for fw 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_hw.c
qed_hw.h qed: Fix kernel-doc warnings 2021-10-04 12:55:48 +01:00
qed_init_fw_funcs.c qed: Update FW init functions to support FW 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_init_ops.c qed: Update FW init functions to support FW 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_init_ops.h qed: Update FW init functions to support FW 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_int.c net: qed: fix the array may be out of bound 2021-11-26 11:29:20 -08:00
qed_int.h qed: Remove e4_ and _e4 from FW HSI 2021-10-04 12:55:48 +01:00
qed_iro_hsi.h qed: Add '_GTT' suffix to the IRO RAM macros 2021-10-04 12:55:49 +01:00
qed_iscsi.c qed: Add '_GTT' suffix to the IRO RAM macros 2021-10-04 12:55:49 +01:00
qed_iscsi.h qed: Fix kernel-doc warnings 2021-10-04 12:55:48 +01:00
qed_iwarp.c qed: Update the TCP active termination 2 MSL timer ("TIME_WAIT") 2021-10-04 12:55:49 +01:00
qed_iwarp.h
qed_l2.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qed_l2.h qed: Update qed_hsi.h for fw 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_ll2.c qed: Change the TCP common variable - "iscsi_ooo" 2021-10-18 15:58:21 -07:00
qed_ll2.h qed: Split huge qed_hsi.h header file 2021-10-04 12:55:48 +01:00
qed_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-10-14 16:50:14 -07:00
qed_mcp.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qed_mcp.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qed_mfw_hsi.h qed: Update qed_mfw_hsi.h for FW ver 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_mng_tlv.c qed: Add NVMeTCP Offload PF Level FW and HW HSI 2021-06-03 14:04:17 -07:00
qed_nvmetcp.c qed: Add NVMeTCP Offload IO Level FW Initializations 2021-06-03 14:04:17 -07:00
qed_nvmetcp.h qed: Add NVMeTCP Offload Connection Level FW and HW HSI 2021-06-03 14:04:17 -07:00
qed_nvmetcp_fw_funcs.c qed: Remove duplicated include of kernel.h 2021-08-03 11:49:28 +01:00
qed_nvmetcp_fw_funcs.h qed: Fix duplicate included linux/kernel.h 2021-06-07 13:29:50 -07:00
qed_nvmetcp_ip_services.c qed: Add IP services APIs support 2021-06-03 14:04:18 -07:00
qed_ooo.c qed: Optimize the ll2 ooo flow 2021-10-18 15:58:21 -07:00
qed_ooo.h
qed_ptp.c net: qed_ptp: fix check of true !rc expression 2021-10-25 19:11:13 -07:00
qed_ptp.h
qed_rdma.c RDMA v5.16 merge window pull request 2021-11-03 08:05:59 -07:00
qed_rdma.h qed: Split huge qed_hsi.h header file 2021-10-04 12:55:48 +01:00
qed_reg_addr.h qed: Update debug related changes 2021-10-04 12:55:49 +01:00
qed_roce.c qed: Split huge qed_hsi.h header file 2021-10-04 12:55:48 +01:00
qed_roce.h
qed_selftest.c
qed_selftest.h qed: Fix kernel-doc warnings 2021-10-04 12:55:48 +01:00
qed_sp.h qed: Update qed_hsi.h for fw 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_sp_commands.c qed: Update qed_hsi.h for fw 8.59.1.0 2021-10-04 12:55:49 +01:00
qed_spq.c qed: Add '_GTT' suffix to the IRO RAM macros 2021-10-04 12:55:49 +01:00
qed_sriov.c ethernet: Remove redundant 'flush_workqueue()' calls 2021-10-10 11:33:15 +01:00
qed_sriov.h qed: Fix compilation for CONFIG_QED_SRIOV undefined scenario 2021-10-08 17:11:58 +01:00
qed_vf.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qed_vf.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00