Skip to content

Do not form IB connections between limited partition members

Håkon Bugge linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2IB/core: A full pkey is required to match a limited onedrivers/infiniband/core/cache.c include/rdma/ib_cache.h+45 -50 replies
2/2IB/cm: Send authentic pkey in REQ msg and check eligibility of the pkeysdrivers/infiniband/core/cm.c include/rdma/ib_cm.h+35 -820 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH IB/core 0/2] Do not form IB connections between limited partition members

Systems using IB partitions might be exposed to excessive pkey violation traps which are sent to the OpenSM. This can be close to a DoS attack, and in addition, the OpenSM logs are flooded with these messages, hiding potential other log messages deemed important in order to investigate important issues.

This series prohibit RDMA CM to establish connections between two limited partition members. This avoids pkey violation traps stemming from unicast messages to be sent to the OpenSM.

[If this patch series get accepted by the community, I ask if the maintainer can update the reference to the first commit in the second commit message with a correct 12 chars SHA]

Håkon Bugge (2):
IB/core: A full pkey is required to match a limited one IB/cm: Send authentic pkey in REQ msg and check eligibility of the
pkeys

 drivers/infiniband/core/cache.c | 32 +++++++++++++++++++++++++++-----
 drivers/infiniband/core/cm.c    | 39 ++++++++++++++++++++++++++++++++-------
 include/rdma/ib_cache.h         | 18 ++++++++++++++++++
 include/rdma/ib_cm.h            |  4 +++-
 4 files changed, 80 insertions(+), 13 deletions(-)

--
2.13.6