[PATCH v2 06/10] net: fold __skb_checksum() into skb_checksum()
Hannes Reinecke
hare at suse.de
Wed May 21 03:14:47 PDT 2025
On 5/19/25 19:50, Eric Biggers wrote:
> From: Eric Biggers <ebiggers at google.com>
>
> Now that the only remaining caller of __skb_checksum() is
> skb_checksum(), fold __skb_checksum() into skb_checksum(). This makes
> struct skb_checksum_ops unnecessary, so remove that too and simply do
> the "regular" net checksum. It also makes the wrapper functions
> csum_partial_ext() and csum_block_add_ext() unnecessary, so remove those
> too and just use the underlying functions.
>
> Signed-off-by: Eric Biggers <ebiggers at google.com>
> ---
> include/linux/skbuff.h | 9 -------
> include/net/checksum.h | 12 ---------
> net/core/skbuff.c | 59 +++++-------------------------------------
> 3 files changed, 7 insertions(+), 73 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list