summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorQuanye Yang <quanyeyang@proton.me>2026-09-21 21:25:25 -0700
committerJason Gunthorpe <jgg@nvidia.com>2026-09-29 16:28:18 -0300
commit49c5691ad76f000e66c4f2635d5f196db5d038f9 (patch)
tree6f1fed95ebf1418227200fe8e1e273cc94b90c6b /tools/lib/python/kdoc/python_version.py
parent7e4d9504904f6e1ab9ea5bc2dfd1366c08483162 (diff)
RDMA/rtrs-clt: Don't WARN on unexpected info-response opcode
The info-response receive is posted for a SEND. The completion opcode comes from the peer, so RDMA WRITE with Immediate is a legal WC on that WQE even though it violates the RTRS handshake. WARN_ON(wc->opcode != IB_WC_RECV) treats that peer-controlled field as an internal invariant and panics with panic_on_warn. Treat a non-SEND completion as a handshake failure: log it and keep the existing CONNECTING_ERR cleanup. Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality") Link: https://patch.msgid.link/r/20260921-rtrs-fix-rtrs-clt-info-rsp-done-v1-1-c64281ed97c0@proton.me Reported-by: Farhad Alemi <farhad.alemi@berkeley.edu> Closes: https://lore.kernel.org/linux-rdma/CA+0ovCge-K+hcGHXZ4R3Ww5+cg159uxHBeVbKeUSLBRSMT8OWA@mail.gmail.com/ Signed-off-by: Quanye Yang <quanyeyang@proton.me> Reviewed-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions