]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
batman-adv: use skb_crc32c() instead of skb_seq_read()
authorSven Eckelmann <sven@narfation.org>
Sun, 28 Sep 2025 08:29:32 +0000 (10:29 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 17 Oct 2025 14:30:43 +0000 (16:30 +0200)
commited5730f3f733659a4a023a5f1e767365fe341648
tree7a44b7f1aecbadc2286e06977ef044fbaab53a20
parente5ae07b2ef86ee5bcb90a1c933c9d5ac1a0e33be
batman-adv: use skb_crc32c() instead of skb_seq_read()

Make batadv_bla_check_duplist() just use the new function skb_crc32c(),
instead of calling skb_seq_read() with crc32c(). This is faster and
simpler.

Suggested-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/Kconfig
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/types.h