1
0
Fork 0
alistair23-linux/drivers/infiniband
Potnuri Bharat Teja 6e7253dc45 RDMA/iw_cxgb4: Fix incorrect function parameters
[ Upstream commit c8b1f340e5 ]

While reading the TCB field in t4_tcb_get_field32() the wrong mask is
passed as a parameter which leads the driver eventually to a kernel
panic/app segfault from access to an illegal SRQ index while flushing the
SRQ completions during connection teardown.

Fixes: 11a27e2121 ("iw_cxgb4: complete the cached SRQ buffers")
Link: https://lore.kernel.org/r/20200511185608.5202-1-bharat@chelsio.com
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-20 08:20:26 +02:00
..
core RDMA/core: Fix double put of resource 2020-05-20 08:20:26 +02:00
hw RDMA/iw_cxgb4: Fix incorrect function parameters 2020-05-20 08:20:26 +02:00
sw RDMA/rxe: Always return ERR_PTR from rxe_create_mmap_info() 2020-05-20 08:20:25 +02:00
ulp scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout" 2020-02-28 17:22:25 +01:00
Kconfig RDMA/odp: Use the common interval tree library instead of generic 2019-08-21 13:34:09 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00