mirror_ubuntu-kernels/include/linux/sunrpc
Chuck Lever c770f31d8f SUNRPC: Fix xdr_encode_bool()
I discovered that xdr_encode_bool() was returning the same address
that was passed in the @p parameter. The documenting comment states
that the intent is to return the address of the next buffer
location, just like the other "xdr_encode_*" helpers.

The result was the encoded results of NFSv3 PATHCONF operations were
not formed correctly.

Fixes: ded04a587f ("NFSD: Update the NFSv3 PATHCONF3res encoder to use struct xdr_stream")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
2022-07-29 20:08:56 -04:00
..
addr.h
auth_gss.h
auth.h SUNRPC/auth: async tasks mustn't block waiting for memory 2022-03-13 12:59:35 -04:00
bc_xprt.h
cache.h SUNRPC: Make cache_req::thread_wait an unsigned long 2022-05-19 12:25:39 -04:00
clnt.h SUNRPC: Ensure that the gssproxy client can start in a connected state 2022-05-07 14:31:15 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5_enctypes.h
gss_krb5.h
metrics.h
msg_prot.h
rpc_pipe_fs.h
rpc_rdma_cid.h
rpc_rdma.h
sched.h NFS: Fix memory allocation in rpc_malloc() 2022-03-22 15:52:55 -04:00
stats.h
svc_rdma_pcl.h
svc_rdma.h
svc_xprt.h Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
svc.h SUNRPC: Simplify synopsis of svc_pool_for_cpu() 2022-05-19 12:25:40 -04:00
svcauth_gss.h
svcauth.h
svcsock.h
timer.h
types.h
xdr.h SUNRPC: Fix xdr_encode_bool() 2022-07-29 20:08:56 -04:00
xprt.h NFS client bugfixes for Linux 5.18 2022-04-08 07:39:17 -10:00
xprtmultipath.h
xprtrdma.h
xprtsock.h SUNRPC: Do not dereference non-socket transports in sysfs 2022-03-25 13:22:58 -04:00