aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/sa_query.c
diff options
context:
space:
mode:
authorPrabhath Sajeepa <psajeepa@purestorage.com>2019-12-12 17:11:29 -0700
committerJason Gunthorpe <jgg@mellanox.com>2020-01-03 15:56:41 -0400
commitb5671afe5e39ed71e94eae788bacdcceec69db09 (patch)
tree13cbdfc5b3140c6ab1c37d9ea7bb039ee32c1ada /drivers/infiniband/core/sa_query.c
parentRDMA/siw: Simplify QP representation (diff)
downloadlinux-dev-b5671afe5e39ed71e94eae788bacdcceec69db09.tar.xz
linux-dev-b5671afe5e39ed71e94eae788bacdcceec69db09.zip
IB/mlx5: Fix outstanding_pi index for GSI qps
Commit b0ffeb537f3a ("IB/mlx5: Fix iteration overrun in GSI qps") changed the way outstanding WRs are tracked for the GSI QP. But the fix did not cover the case when a call to ib_post_send() fails and updates index to track outstanding. Since the prior commmit outstanding_pi should not be bounded otherwise the loop generate_completions() will fail. Fixes: b0ffeb537f3a ("IB/mlx5: Fix iteration overrun in GSI qps") Link: https://lore.kernel.org/r/1576195889-23527-1-git-send-email-psajeepa@purestorage.com Signed-off-by: Prabhath Sajeepa <psajeepa@purestorage.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/sa_query.c')
0 files changed, 0 insertions, 0 deletions