net: use skb_crc32c() in skb_crc32c_csum_help()
authorEric Biggers <ebiggers@google.com>
Mon, 19 May 2025 17:50:05 +0000 (10:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 May 2025 22:39:59 +0000 (15:39 -0700)
commit86edc94da1063a327d8d4bfc82b31df427db3e5c
tree418c8947d074ce43a6fab3e26e05fc167a47e10a
parenta5bd029c733b8ae790d5873e2afeb88b58e3a151
net: use skb_crc32c() in skb_crc32c_csum_help()

Instead of calling __skb_checksum() with a skb_checksum_ops struct that
does CRC32C, just call the new function skb_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-4-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c