[PATCH batadv v2 0/5] batman-adv: collected fixes (Yuan Tan)

Sven Eckelmann <[email protected]>
Newsgroups org.open-mesh.lists.batman
Message-ID <[email protected]>
I was contacted by Yuan Tan regarding some of the problems which were found
by them. I've proposed to go through the list and prepare changes for
things which looked sensible. I've also prepared some PoC patches (lets
call it part2) - just so Antonio+Simon+Marek can discuss about them
internally.

The ones which don't need further discussion are shown in this patchset.
For the others, I am waiting on the results of the internal discussion.

It is more than likely that there will be updates to these patches because
the team around Yuan Tan need to verify that these are actually working.

Thanks to Yuan Tan, Yifan Wu, Juefei Pu, Xin Liu and all the other people
involved in finding + fixing these bugs.

Signed-off-by: Sven Eckelmann <[email protected]>
---
Changes in v2:
- add role checks in all tp_meter functions
- free skb in batadv_v_ogm_queue_on_if
- propagate bat_priv from batadv_v_ogm_queue_on_if to batadv_v_ogm_send_to_if
- Link to v1: https://patch.msgid.link/[email protected]

---
Sven Eckelmann (5):
      batman-adv: dat: handle forward allocation error
      batman-adv: tp_meter: avoid use of uninit sender vars
      batman-adv: frag: disallow unicast fragment in fragment
      batman-adv: tvlv: reject oversized TVLV packets
      batman-adv: v: stop OGMv2 on disabled interface

 net/batman-adv/bat_v_ogm.c             | 39 +++++++++++++++++++++++-----------
 net/batman-adv/distributed-arp-table.c |  3 +++
 net/batman-adv/fragmentation.c         | 35 ++++++++++++++++++++++++++++++
 net/batman-adv/tp_meter.c              | 11 ++++++++--
 net/batman-adv/tvlv.c                  |  9 +++++---
 5 files changed, 80 insertions(+), 17 deletions(-)
---
base-commit: 57c6af492c1948145db835bb3ea2980472558298
change-id: 20260509-yuantan098-bugfixes-feb66522feb6

Best regards,
--  
Sven Eckelmann <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.