Skip to content

RDMA fixes for 4.13

Leon Romanovsky linux-rdma 1 version Applied

Status from this message: Thanks, applied for -rc.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3IB/core: Avoid accessing non-allocated memory when inferring port typedrivers/infiniband/core/uverbs_cmd.c drivers/infiniband/core/verbs.c include/rdma/ib_verbs.h+14 -50 replies
2/3IB/mlx5: Fix Raw Packet QP event handler assignmentdrivers/infiniband/hw/mlx5/qp.c+1 -00 replies
3/3IB/mlx5: Always return success for RoCE modify portdrivers/infiniband/hw/mlx5/main.c+6 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchYishai HadasMoni Shoua
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH rdma-rc 0/3] RDMA fixes for 4.13

Hi Doug,

Those patches were found after you asked me if I have new patches for the rdma-rc and at that time I really didn't have.

There are three patches in this series, two from Majd and one from Noa.

The patch from Noa was the one which pushed me to send it now. Latest changes to support LID started to use port number to determine port type, and it is not always safe. This allows access to non-allocated memory, despite the fact that the scope of this attack is limited by the size of port (u8), but it is better to fix it now and don't bother ourselves with stable@ e.t.c.

The patches from Majd are fixing one panic and one as a followup to latest discussion with Selvin about common modify_port function.

Thanks
----------------------------------------------------------------
Majd Dibbiny (2):
IB/mlx5: Fix Raw Packet QP event handler assignment IB/mlx5: Always return success for RoCE modify port

Noa Osherovich (1):
IB/core: Avoid accessing non-allocated memory when inferring port type

 drivers/infiniband/core/uverbs_cmd.c | 11 +++++++----
 drivers/infiniband/core/verbs.c      |  7 ++++++-
 drivers/infiniband/hw/mlx5/main.c    |  6 ++++++
 drivers/infiniband/hw/mlx5/qp.c      |  1 +
 include/rdma/ib_verbs.h              |  1 +
 5 files changed, 21 insertions(+), 5 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html