diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-01-08 11:29:38 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-02-20 09:20:27 -0500 |
commit | 7b402c8db66414abb4001d0c2676553baa619a2b (patch) | |
tree | 722ffc0c9e812b8c0a106f38cae1adba55619128 /fs/lockd | |
parent | 6d037b15e43945144d5041db9e62c5f389bd432b (diff) |
SUNRPC: Add XDR encoding helper for opaque_auth
RFC 5531 defines an MSG_ACCEPTED Reply message like this:
struct accepted_reply {
opaque_auth verf;
union switch (accept_stat stat) {
case SUCCESS:
...
In the current server code, struct opaque_auth encoding is open-
coded. Introduce a helper that encodes an opaque_auth data item
within the context of a xdr_stream.
Done as part of hardening the server-side RPC header decoding and
encoding paths.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions