[PATCH batadv v2 0/3] batman-adv: mcast header creation bugs

Sven Eckelmann <[email protected]> Fri, 10 Jul 2026 22:01:14 +0200
Newsgroups org.open-mesh.lists.batman
Message-ID <20260710-mcast-header-generation-bugs-v2-0-06cd83c0f534@narfation.org>
The code which introduced the mcast packet format was expanding the skbuff
header in various places. But this broke the priority extraction and was
requiring various skb properties (linearized, unshared) but only in some
paths (forwarding of TVLV) ensured that this is actually the case while
forgetting in others (initial creation of an mcast packet).

Signed-off-by: Sven Eckelmann <[email protected]>
---
Changes in v2:
- call skb_linearize() in batadv_mcast_forw_expand_head() instead of
  batadv_mcast_forw_packet()
- Link to v1: https://patch.msgid.link/20260709-mcast-header-generation-bugs-v1-0-c7c111fa45b6@narfation.org

---
Sven Eckelmann (3):
      batman-adv: fix TX priority extraction for BATADV_FORW_MCAST
      batman-adv: mcast: ensure unshared skb for multicast packets
      batman-adv: mcast: linearize skbuff for packet generation

 net/batman-adv/mesh-interface.c | 7 +++++--
 net/batman-adv/multicast_forw.c | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)
---
base-commit: 3e896c605413a63c60f44a7b0beef0e07e220d63
change-id: 20260709-mcast-header-generation-bugs-bed17c85a6ba

Best regards,
--  
Sven Eckelmann <[email protected]>