Skip to contentSkip to conversation

pull request for net-next: batman-adv 2025-10-24

PATCH Applied Simon Wunderlich 2 participants 4 messages Oct 24, 2025 – Oct 28, 2025

Subsystems (3)
lore
Share & tools
lore

Simon Wunderlich

author maintainer
#0 lore raw

cover pull request for net-next: batman-adv 2025-10-24

Hi Jakub, hi David,

here is a cleanup pull request of batman-adv to go into net-next.

Please pull or let me know of any problem!

Thank you,
Simon

The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:

Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)

are available in the Git repository at:

https://git.open-mesh.org/linux-merge.git tags/batadv-next-pullrequest-20251024

for you to fetch changes up to ed5730f3f733659a4a023a5f1e767365fe341648:

batman-adv: use skb_crc32c() instead of skb_seq_read() (2025-10-17 16:30:43 +0200)

----------------------------------------------------------------
This cleanup patchset includes the following patches:

- bump version strings, by Simon Wunderlich

- use skb_crc32c() instead of skb_seq_read(), by Sven Eckelmann

----------------------------------------------------------------
Simon Wunderlich (1):
batman-adv: Start new development cycle

Sven Eckelmann (1):
batman-adv: use skb_crc32c() instead of skb_seq_read()

 net/batman-adv/Kconfig                 |  1 +
 net/batman-adv/bridge_loop_avoidance.c | 51 ++++++----------------------------
 net/batman-adv/main.h                  |  2 +-
 net/batman-adv/types.h                 |  2 +-
 4 files changed, 11 insertions(+), 45 deletions(-)
author maintainer
#1 lore raw

PATCH 1/2 batman-adv: Start new development cycle

This version will contain all the (major or even only minor) changes for Linux 6.19.

The version number isn't a semantic version number with major and minor information. It is just encoding the year of the expected publishing as Linux -rc1 and the number of published versions this year (starting at 0).

---
 net/batman-adv/main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/batman-adv/main.h +1 -1
index 2be1ac17acaa4..af230b017bc17 100644
@@ -13,7 +13,7 @@
 #define BATADV_DRIVER_DEVICE "batman-adv"
 
 #ifndef BATADV_SOURCE_VERSION
-#define BATADV_SOURCE_VERSION "2025.4"
+#define BATADV_SOURCE_VERSION "2025.5"
 #endif
 
 /* B.A.T.M.A.N. parameters */
Signature · 1 line
2.47.3
#2 lore raw

Re: [PATCH net-next 1/2] batman-adv: Start new development cycle

This series was applied to netdev/net-next.git (main) by Simon Wunderlich <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (main) by Simon Wunderlich <[email protected]>:

Quoted 8 lines · On Fri, 24 Oct 2025 11:23:14 +0200 you wrote:

This version will contain all the (major or even only minor) changes for Linux 6.19.

The version number isn't a semantic version number with major and minor information. It is just encoding the year of the expected publishing as Linux -rc1 and the number of published versions this year (starting at 0).

[...]

Here is the summary with links:
- [net-next,1/2] batman-adv: Start new development cycle

    https://git.kernel.org/netdev/net-next/c/e5ae07b2ef86
  - [net-next,2/2] batman-adv: use skb_crc32c() instead of skb_seq_read()
    https://git.kernel.org/netdev/net-next/c/ed5730f3f733

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
author maintainer
#3 lore raw

PATCH 2/2 batman-adv: use skb_crc32c() instead of skb_seq_read()

In reply to Simon Wunderlich

From: Sven Eckelmann <[email protected]>

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.

---
 net/batman-adv/Kconfig                 |  1 +
 net/batman-adv/bridge_loop_avoidance.c | 51 ++++----------------------
 net/batman-adv/types.h                 |  2 +-
 3 files changed, 10 insertions(+), 44 deletions(-)
net/batman-adv/Kconfig +1 -0
index c299e2bc87eda..58c408b7a7d9c 100644
@@ -35,6 +35,7 @@ config BATMAN_ADV_BLA
 	bool "Bridge Loop Avoidance"
 	depends on BATMAN_ADV && INET
 	select CRC16
+	select NET_CRC32C
 	default y
 	help
 	  This option enables BLA (Bridge Loop Avoidance), a mechanism
net/batman-adv/bridge_loop_avoidance.c +8 -43

95 lines not on this page · raw message

net/batman-adv/types.h +1 -1
index ae1d7a8dc480f..8fc5fe0e9b053 100644
@@ -734,7 +734,7 @@ struct batadv_bcast_duplist_entry {
 	u8 orig[ETH_ALEN];
 
 	/** @crc: crc32 checksum of broadcast payload */
-	__be32 crc;
+	u32 crc;
 
 	/** @entrytime: time when the broadcast packet was received */
 	unsigned long entrytime;
Signature · 1 line
2.47.3