aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs_main.c
diff options
context:
space:
mode:
authorPotnuri Bharat Teja <bharat@chelsio.com>2020-05-12 00:26:08 +0530
committerJason Gunthorpe <jgg@mellanox.com>2020-05-12 11:47:48 -0300
commitc8b1f340e54158662acfa41d6dee274846370282 (patch)
tree6c379aa90ec5f57c21b056d6567bafa3ef421f21 /drivers/infiniband/core/uverbs_main.c
parentRDMA/core: Fix double put of resource (diff)
downloadlinux-dev-c8b1f340e54158662acfa41d6dee274846370282.tar.xz
linux-dev-c8b1f340e54158662acfa41d6dee274846370282.zip
RDMA/iw_cxgb4: Fix incorrect function parameters
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: 11a27e2121a5 ("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>
Diffstat (limited to 'drivers/infiniband/core/uverbs_main.c')
0 files changed, 0 insertions, 0 deletions