sctp: use skb_crc32c() instead of __skb_checksum()
authorEric Biggers <ebiggers@google.com>
Mon, 19 May 2025 17:50:07 +0000 (10:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 May 2025 22:40:16 +0000 (15:40 -0700)
commit99de9d4022e5004f95f425f798f0aa01e87949ff
tree990b22a94fc4838af1d8d13814a7c6fc92cfd68b
parent62673b7df998b669229f9aaf85a25cb5c24d5e40
sctp: use skb_crc32c() instead of __skb_checksum()

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@google.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://patch.msgid.link/20250519175012.36581-6-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sctp/checksum.h
net/netfilter/Kconfig
net/netfilter/ipvs/Kconfig
net/openvswitch/Kconfig
net/sched/Kconfig
net/sctp/Kconfig
net/sctp/offload.c