Last week Trond reported a server crash in svc_rdma_sendto() that seemed related to deferral of a request incoming on an RPC/RDMA transport. A link to that report appears in the first patch below. The first patch in this series addresses the crash, and the second fixes a related observability crash. The other patches from v1 of this series have been postponed to 5.19. Comments, opinions, and Reviewed-by's are appreciated! Since v2: - Fix "has unsafe dereference" warnings in patch 2/2 Since v1: - Series trimmed down to just what will go to 5.18-rc - 2nd patch re-worked so it can be backported to recent stable - Addressed a few checkpatch.pl nits --- Chuck Lever (2): SUNRPC: Fix NFSD's request deferral on RDMA transports SUNRPC: Fix the svc_deferred_event trace class include/linux/sunrpc/svc.h | 1 + include/trace/events/sunrpc.h | 7 ++++--- net/sunrpc/svc_xprt.c | 3 +++ net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) -- Chuck Lever