diff options
author | Chuck Lever <[email protected]> | 2022-10-16 11:47:02 -0400 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2022-11-28 12:54:44 -0500 |
commit | ea5021e911d3479346a75ac9b7d9dcd751b0fb99 (patch) | |
tree | b55367e2e53110d4805512292b697a9809231380 /lib/mpi/mpi-mod.c | |
parent | 5a717a6e0145481ea4c188d8be2d6217cefed270 (diff) |
NFSD: Finish converting the NFSv2 GETACL result encoder
The xdr_stream conversion inadvertently left some code that set the
page_len of the send buffer. The XDR stream encoders should handle
this automatically now.
This oversight adds garbage past the end of the Reply message.
Clients typically ignore the garbage, but NFSD does not need to send
it, as it leaks stale memory contents onto the wire.
Fixes: f8cba47344f7 ("NFSD: Update the NFSv2 GETACL result encoder to use struct xdr_stream")
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions