Hi- Request For Comments on this series, which converts the rpc_auth paths (including GSS) to use xdr_stream. It applies on top of the series I sent last Friday. I'd eventually like to see this work in v5.1. --- Chuck Lever (10): SUNRPC: Remove some dprintk() call sites from auth functions SUNRPC: Remove rpc_xprt::tsh_size SUNRPC: Add build option to disable support for insecure enctypes SUNRPC: Add common byte-swapped RPC header constants SUNRPC: Use struct xdr_stream when constructing RPC Call header SUNRPC: Clean up rpc_verify_header() SUNRPC: Use struct xdr_stream when decoding RPC Reply header SUNRPC: Introduce trace points in rpc_auth_gss.ko SUNRPC: Remove xdr_buf_trim() SUNRPC: Add SPDX IDs to some net/sunrpc/auth_gss/ files include/linux/sunrpc/auth.h | 30 +- include/linux/sunrpc/auth_gss.h | 5 include/linux/sunrpc/gss_krb5_enctypes.h | 42 ++ include/linux/sunrpc/xdr.h | 67 ++- include/linux/sunrpc/xprt.h | 7 include/trace/events/rpcgss.h | 361 +++++++++++++++++++ include/trace/events/rpcrdma.h | 12 + include/trace/events/sunrpc.h | 142 +++++++ net/sunrpc/Kconfig | 16 + net/sunrpc/auth.c | 136 ++++--- net/sunrpc/auth_gss/Makefile | 2 net/sunrpc/auth_gss/auth_gss.c | 542 ++++++++++++++-------------- net/sunrpc/auth_gss/gss_krb5_mech.c | 29 - net/sunrpc/auth_gss/gss_krb5_wrap.c | 8 net/sunrpc/auth_gss/gss_mech_switch.c | 27 - net/sunrpc/auth_gss/gss_rpc_upcall.c | 15 - net/sunrpc/auth_gss/gss_rpc_upcall.h | 16 - net/sunrpc/auth_gss/gss_rpc_xdr.c | 15 - net/sunrpc/auth_gss/gss_rpc_xdr.h | 17 - net/sunrpc/auth_gss/svcauth_gss.c | 3 net/sunrpc/auth_gss/trace.c | 11 + net/sunrpc/auth_null.c | 54 +-- net/sunrpc/auth_unix.c | 112 +++--- net/sunrpc/clnt.c | 360 +++++++++---------- net/sunrpc/svc.c | 19 - net/sunrpc/xdr.c | 41 -- net/sunrpc/xprt.c | 10 - net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 1 net/sunrpc/xprtrdma/transport.c | 1 net/sunrpc/xprtsock.c | 91 +++-- 30 files changed, 1326 insertions(+), 866 deletions(-) create mode 100644 include/trace/events/rpcgss.h create mode 100644 net/sunrpc/auth_gss/trace.c -- Chuck Lever