Re: [PATCH 0/2] RDMA/nldev: Reply with the command of the request
From: Leon Romanovsky
Date: Tue Nov 03 2026 - 11:19:55 EST
On Sun, 01 Nov 2026 15:15:19 +0100, Nikolaos Gkarlis wrote:
> 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.
>
> [...]
Applied, thanks!
[1/2] RDMA/nldev: Reply to RDMA_NLDEV_CMD_PORT_GET with its own command
https://git.kernel.org/rdma/rdma/c/8cf5406b86249a
[2/2] RDMA/nldev: Reply to RDMA_NLDEV_CMD_STAT_DEL with its own command
https://git.kernel.org/rdma/rdma/c/f3980f8abd2d11
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>