Skip to content

RDMA/nldev: Reply with the command of the request

Nikolaos Gkarlis linux-rdma lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2RDMA/nldev: Reply to RDMA_NLDEV_CMD_PORT_GET with its own commanddrivers/infiniband/core/nldev.c+2 -10 replies
2/2RDMA/nldev: Reply to RDMA_NLDEV_CMD_STAT_DEL with its own commanddrivers/infiniband/core/nldev.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] RDMA/nldev: Reply with the command of the request

Two doit handlers reply with another command's message type:
RDMA_NLDEV_CMD_PORT_GET with RDMA_NLDEV_CMD_GET, and RDMA_NLDEV_CMD_STAT_DEL with RDMA_NLDEV_CMD_STAT_SET. A client that decodes replies based on their type mis-decodes them. AFAIK iproute2 igores the reply type and rdma-core does not use these commands. I spotted these when writing an RDMA netlink client for Go.

I used AI to prepare the patches but I reviewed and tested myself.

Nikolaos Gkarlis (2):
RDMA/nldev: Reply to RDMA_NLDEV_CMD_PORT_GET with its own command RDMA/nldev: Reply to RDMA_NLDEV_CMD_STAT_DEL with its own command

 drivers/infiniband/core/nldev.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

base-commit: c3e8e9451e6f1b69f685b75e0fbf14f3d0fb2539

Signature · 1 line
2.55.0