Re: [PATCH v2 05/10] sctp: use skb_crc32c() instead of __skb_checksum()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/19/25 19:50, Eric Biggers wrote:
From: Eric Biggers <ebiggers@xxxxxxxxxx>

Make sctp_compute_cksum() just use the new function skb_crc32c(),
instead of calling __skb_checksum() with a skb_checksum_ops struct that
does CRC32C.  This is faster and simpler.

Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
---
  include/net/sctp/checksum.h | 29 +++--------------------------
  net/netfilter/Kconfig       |  4 ++--
  net/netfilter/ipvs/Kconfig  |  2 +-
  net/openvswitch/Kconfig     |  2 +-
  net/sched/Kconfig           |  2 +-
  net/sctp/Kconfig            |  1 -
  net/sctp/offload.c          |  1 -
  7 files changed, 8 insertions(+), 33 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@xxxxxxx                                +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




[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     SCTP

  Powered by Linux