Skip to content

RDMA/bnxt_re: Fix input validation and

Selvin Xavier linux-rdma sashiko-reviews 4 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 6 repliesApplied
  2. v2 posting 2/28 patches 0 repliesSuperseded
  3. v2 posting 1/20 of 8 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches9 repliesSuperseded

Changes in v3 from the cover letter

- Drop the VM_MAYEXEC clearing patch from this series. Will work on a core level series which implements this in other drivers also
- Dropped rdev lifetime race patch from v2 series as it is reporting few more review comments to be handled
- New fix to serialize dcb_wq against async notifier
- Removed is_in_used flags related patch to be posted as a separate rcfw series

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8RDMA/bnxt_re: Fix integer overflow in send payload size computationdrivers/infiniband/hw/bnxt_re/ib_verbs.c+24 -200 replies
2/8RDMA/bnxt_re: Detect wrong sge_len passed for inlinedrivers/infiniband/hw/bnxt_re/ib_verbs.c+3 -20 replies
3/8RDMA/bnxt_re: Validate SRQ max_sge at create timedrivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/qplib_sp.c+9 -10 replies
4/8RDMA/bnxt_re: Initialize wqe.flags in bnxt_re_post_srq_recv()drivers/infiniband/hw/bnxt_re/ib_verbs.c+1 -00 replies
5/8RDMA/bnxt_re: Validate num_sge in bnxt_re_post_srq_recv()drivers/infiniband/hw/bnxt_re/ib_verbs.c+7 -02 replies
6/8RDMA/bnxt_re: Serialize dcb_wq access against async notifierdrivers/infiniband/hw/bnxt_re/bnxt_re.h drivers/infiniband/hw/bnxt_re/main.c+24 -40 replies
7/8RDMA/bnxt_re: Fix the PD and DPI table sizedrivers/infiniband/hw/bnxt_re/qplib_res.c+5 -40 replies
8/8RDMA/bnxt_re: Use bnxt_ext_stats_supported for counter count selectiondrivers/infiniband/hw/bnxt_re/hw_counters.c+4 -20 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchKalesh AP
1/8
2/8R-b
3/8
4/8
5/8R-b
6/8
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH for-rc v3 0/8] RDMA/bnxt_re: Fix input validation and

This series fixes some of the bugs found while auditing bnxt_re's handling of user-supplied values and some generic bug fixes

Please review and apply the series.

Thanks,
Selvin Xavier

v2 -> v3:
- Drop the VM_MAYEXEC clearing patch from this series. Will work on a core level series which implements this in other drivers also
- Dropped rdev lifetime race patch from v2 series as it is reporting few more review comments to be handled
- New fix to serialize dcb_wq against async notifier
- Removed is_in_used flags related patch to be posted as a separate rcfw series
v1 -> v2:
- Handle review comment about clearing VM_MAYEXEC vma flag

Selvin Xavier (8):
RDMA/bnxt_re: Fix integer overflow in send payload size computation RDMA/bnxt_re: Detect wrong sge_len passed for inline RDMA/bnxt_re: Validate SRQ max_sge at create time RDMA/bnxt_re: Initialize wqe.flags in bnxt_re_post_srq_recv() RDMA/bnxt_re: Validate num_sge in bnxt_re_post_srq_recv() RDMA/bnxt_re: Serialize dcb_wq access against async notifier RDMA/bnxt_re: Fix the PD and DPI table size
RDMA/bnxt_re: Use bnxt_ext_stats_supported for counter count selection

 drivers/infiniband/hw/bnxt_re/bnxt_re.h     |  4 ++
 drivers/infiniband/hw/bnxt_re/hw_counters.c |  6 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.c    | 65 ++++++++++++++-------
 drivers/infiniband/hw/bnxt_re/main.c        | 24 ++++++--
 drivers/infiniband/hw/bnxt_re/qplib_res.c   |  9 +--
 drivers/infiniband/hw/bnxt_re/qplib_sp.c    |  2 +-
 6 files changed, 77 insertions(+), 33 deletions(-)
Signature · 1 line
2.39.3