diff options
author | Christoph Hellwig <hch@lst.de> | 2025-05-15 13:48:46 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-07-14 12:46:37 -0400 |
commit | 37149988eaabc3daaa6046015c18173d8d26e0e1 (patch) | |
tree | eb153bb0ccdcf4de06612a366a204919a669b72e /scripts/gdb/linux/xarray.py | |
parent | 8d43417e93073699b521f603286140415b24968b (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 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions