summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorQuanye Yang <quanyeyang@proton.me>2026-09-22 21:09:58 -0700
committerLeon Romanovsky <leon@kernel.org>2026-09-29 14:23:56 -0400
commit724cd362162ca7ca5a250bec65efd74f7dad9f5c (patch)
tree0e31289a067bd2ecaa9f13ae94b8badbb9a66551 /tools/lib/python/kdoc
parent9f4c322be27bf617cad2f4a15f6c6024a69e220c (diff)
RDMA/rtrs-clt: Reject invalid queue_depth from the peer
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. Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality") Reported-by: Farhad Alemi <farhad.alemi@berkeley.edu> Closes: https://lore.kernel.org/linux-rdma/CA+0ovCg_sG8gaZXXj9zmOrpxRt=8+-x9wvycVNUKwWmMbr6-Yg@mail.gmail.com Signed-off-by: Quanye Yang <quanyeyang@proton.me> Link: https://patch.msgid.link/20260922-rtrs-fix-warning-rtrs-clt-rdma-cm-handler-v1-1-2076c0ee1455@proton.me Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions