Re: [PATCH] RDMA/rtrs-clt: Reject invalid queue_depth from the peer
From: Leon Romanovsky
Date: Tue Sep 29 2026 - 14:24:23 EST
On Tue, 22 Sep 2026 21:09:58 -0700, Quanye Yang wrote:
> queue_depth is taken from the server's CM private_data and later
> used as a session invariant. A peer can send 0, which the client
> stores and then trips WARN_ON() in create_con_cq_qp() when the
> next connection is set up.
>
> Reject a zero queue_depth on ESTABLISHED, same as a bad
> magic or version, and fail the handshake with -ECONNRESET.
>
> [...]
Applied, thanks!
[1/1] RDMA/rtrs-clt: Reject invalid queue_depth from the peer
https://git.kernel.org/rdma/rdma/c/724cd362162ca7
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>