Files
linux/include/linux/sunrpc
Chuck Lever d3c262f584 SUNRPC: Fix xdr_encode_bool()
commit c770f31d8f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-25 11:40:05 +02:00
..
2019-11-12 11:43:29 -05:00
2019-11-12 11:43:29 -05:00
2019-11-12 11:43:29 -05:00
2021-03-22 13:22:13 -04:00
2021-08-10 14:18:35 -04:00
2022-08-25 11:40:05 +02:00