Thread (22 messages) 22 messages, 3 authors, 2025-05-22

Re: [PATCH v2 06/10] net: fold __skb_checksum() into skb_checksum()

From: Hannes Reinecke <hare@suse.de>
Date: 2025-05-21 10:14:49
Also in: linux-nvme, linux-rdma, linux-sctp, lkml

On 5/19/25 19:50, Eric Biggers wrote:
From: Eric Biggers <redacted>

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 <redacted>
---
  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@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help