mirror_ubuntu-kernels/drivers/net/ethernet/chelsio/cxgb4
Potnuri Bharat Teja ef0162298a RDMA/cxgb4: fix accept failure due to increased cpl_t5_pass_accept_rpl size
Commit 'c2ed5611afd7' has increased the cpl_t5_pass_accept_rpl{} structure
size by 8B to avoid roundup. cpl_t5_pass_accept_rpl{} is a HW specific
structure and increasing its size will lead to unwanted adapter errors.
Current commit reverts the cpl_t5_pass_accept_rpl{} back to its original
and allocates zeroed skb buffer there by avoiding the memset for iss field.
Reorder code to minimize chip type checks.

Fixes: c2ed5611af ("iw_cxgb4: Use memset_startat() for cpl_t5_pass_accept_rpl")
Link: https://lore.kernel.org/r/20220809184118.2029-1-rahul.lakkireddy@chelsio.com
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-08-16 16:20:52 +03:00
..
clip_tbl.c cxgb4: clip_tbl: use list_del_init instead of list_del/INIT_LIST_HEAD 2021-05-18 13:43:37 -07:00
clip_tbl.h
cudbg_common.c
cudbg_entity.h
cudbg_if.h
cudbg_lib_common.h
cudbg_lib.c
cudbg_lib.h
cudbg_zlib.c
cudbg_zlib.h
cxgb4_cudbg.c
cxgb4_cudbg.h
cxgb4_dcb.c cxgb4: Fix typo in string 2022-07-01 13:37:54 +01:00
cxgb4_dcb.h
cxgb4_debugfs.c cxgb4: Use the bitmap API to allocate bitmaps 2022-07-05 12:33:48 +02:00
cxgb4_debugfs.h
cxgb4_ethtool.c cxgb4: Use the bitmap API to allocate bitmaps 2022-07-05 12:33:48 +02:00
cxgb4_fcoe.c
cxgb4_fcoe.h
cxgb4_filter.c cxgb4: make the array match_all_mac static, makes object smaller 2021-08-02 15:01:26 -07:00
cxgb4_filter.h
cxgb4_main.c cxgb4: Use the bitmap API to allocate bitmaps 2022-07-05 12:33:48 +02:00
cxgb4_mps.c
cxgb4_ptp.c net: chelsio: cxgb4: Fix wrong function name in comments 2021-05-17 14:12:38 -07:00
cxgb4_ptp.h
cxgb4_tc_flower.c cxgb4: fix regression with HASH tc prio value update 2021-06-03 15:12:42 -07:00
cxgb4_tc_flower.h
cxgb4_tc_matchall.c flow_offload: reject offload for all drivers with invalid police parameters 2022-02-28 11:12:20 +00:00
cxgb4_tc_matchall.h
cxgb4_tc_mqprio.c cxgb4: avoid link re-train during TC-MQPRIO configuration 2021-06-04 14:45:13 -07:00
cxgb4_tc_mqprio.h
cxgb4_tc_u32_parse.h
cxgb4_tc_u32.c
cxgb4_tc_u32.h
cxgb4_thermal.c
cxgb4_uld.c cxgb4: fix IRQ free race during driver unload 2021-07-08 13:34:13 -07:00
cxgb4_uld.h
cxgb4.h ethernet: chelsio: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
l2t.c
l2t.h
Makefile
sched.c
sched.h
sge.c net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
smt.c
smt.h
srq.c
srq.h
t4_chip_type.h
t4_hw.c net: chelsio: cxgb4: Avoid potential negative array offset 2022-05-06 15:41:27 -07:00
t4_hw.h cxgb4: fix eeprom len when diagnostics not implemented 2021-11-11 11:42:13 +00:00
t4_msg.h RDMA/cxgb4: fix accept failure due to increased cpl_t5_pass_accept_rpl size 2022-08-16 16:20:52 +03:00
t4_pci_id_tbl.h
t4_regs.h
t4_tcb.h
t4_values.h
t4fw_api.h cxgb4: Use struct_group() for memcpy() region 2021-11-19 11:17:09 +00:00
t4fw_version.h