diff options
| author | 2025-05-15 13:48:46 +0200 | |
|---|---|---|
| committer | 2025-07-14 12:46:37 -0400 | |
| commit | 37149988eaabc3daaa6046015c18173d8d26e0e1 (patch) | |
| tree | eb153bb0ccdcf4de06612a366a204919a669b72e /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | sunrpc: simplify xdr_init_encode_pages (diff) | |
sunrpc: simplify xdr_partial_copy_from_skb
csum_partial_copy_to_xdr can handle a checksumming and non-checksumming
case and implements this using a callback, which leads to a lot of
boilerplate code and indirect calls in the fast path.
Switch to storing a need_checksum flag in struct xdr_skb_reader instead
to remove the indirect call and simplify the code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
