This cleanup patchset includes the following patches, all by Sven Eckelmann:

- dat: fix printing of unknown 4addr subtype
 
 - drop direction in _batadv_is_ap_isolated kernel-doc
 
 - bat_v: fix bonding candidate selection
 
 - clarify cut-off in batadv_v_neigh_is_sob kernel-doc
 
 - use more descriptive var names for is_similar_or_better
 
 - ensure u16 aligned mac addresses in structs and arrays (2 patches)
 
 - translation table (tt) fixes/cleanups, 8 patches:
 
   - remove only the entry which was looked up from the hash
   - extract code handling a roam on add
   - simplify NEW flag transition code
   - drop unnecessary cleanup goto in helpers
   - use protected flag modifications
   - transition NEW local entries only under lock
   - don't uncount never committed clients on pending purge
   - decrement count for committed client on local_remove
 -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEE1ilQI7G+y+fdhnrfoSvjmEKSnqEFAmqVhkgWHHN3QHNpbW9u
 d3VuZGVybGljaC5kZQAKCRChK+OYQpKeoTzCD/sElNaBC21gsWRftb38WkCzVUbK
 666dxk0F80KDpUnf4NtoGTVz3c/qUYep1IXkb35e414YuoBfAMbqxRTKQ5PFsZTu
 mIj1BU05P1X2gzruLM1OUncG3hHNBZn9j+1oxfrHTUQSTLfXxiEJFL/pOSXfmaL4
 DPXqJRtavW7vvBKr+1PSCg97wSsnTzmXY6uECNC/MMqUFurAVtpvT/E3+DjfWAgO
 VJluq6H3vtOv1qzqiXkHTH9TPSX36ktSbxE45Ubjaayw53y/Xq0amsfkVAvVJq02
 mtNJ8AckiJD9AgyFO432uI4PH4SB60qSxFRLzinJHSjFLUYIaO2VQEYEVqiknLs9
 9DlvEhaCNjDxxN7OP8Urcl8+/OJCE4Uh2HqhQu0AJ6v5cH8qS5hOGa0q0QP5/pQB
 /rCASm2LWN1v803iNB1mwdAA06AjOdzyKpZhEomtIRd4aoPYbZmCczxP+fAS5By4
 R77thSlm37kNhXJ3piKF0yozpy+0dApBZdf9ULqVjLVsc6kertUdwJL65WDP+tCt
 wwdpW+uwgBWdK+RgUPNe/aCaDQVz1Hazvy1C6HpmtkBxMJtxPsjQNmgyja2PnlPa
 KNRXkfPE5efv5mwEO7O5I0smQusx1N4zuSuHhtu3a6yvuOGlCwjk/BE4/Os9vSLv
 AFJWgK4K+l4I1KkuBA==
 =iAJC
 -----END PGP SIGNATURE-----

Merge tag 'batadv-next-pullrequest-20260831' of https://git.open-mesh.org/batadv

Simon Wunderlich says:

====================
This cleanup patchset includes the following patches, all by Sven Eckelmann:

- dat: fix printing of unknown 4addr subtype

- drop direction in _batadv_is_ap_isolated kernel-doc

- bat_v: fix bonding candidate selection

- clarify cut-off in batadv_v_neigh_is_sob kernel-doc

- use more descriptive var names for is_similar_or_better

- ensure u16 aligned mac addresses in structs and arrays (2 patches)

- translation table (tt) fixes/cleanups, 8 patches:

  - remove only the entry which was looked up from the hash
  - extract code handling a roam on add
  - simplify NEW flag transition code
  - drop unnecessary cleanup goto in helpers
  - use protected flag modifications
  - transition NEW local entries only under lock
  - don't uncount never committed clients on pending purge
  - decrement count for committed client on local_remove

* tag 'batadv-next-pullrequest-20260831' of https://git.open-mesh.org/batadv:
  batman-adv: tt: decrement count for committed client on local_remove
  batman-adv: tt: don't uncount never committed clients on pending purge
  batman-adv: tt: transition NEW local entries only under lock
  batman-adv: tt: use protected flag modifications
  batman-adv: tt: drop unnecessary cleanup goto in helpers
  batman-adv: tt: simplify NEW flag transition code
  batman-adv: tt: extract code handling a roam on add
  batman-adv: tt: remove only the entry which was looked up from the hash
  batman-adv: ensure u16 aligned mac address in structs
  batman-adv: ensure u16 aligned mac address arrays on stack
  batman-adv: use more descriptive var names for is_similar_or_better
  batman-adv: clarify cut-off in batadv_v_neigh_is_sob kernel-doc
  batman-adv: bat_v: fix bonding candidate selection
  batman-adv: drop direction in _batadv_is_ap_isolated kernel-doc
  batman-adv: dat: fix printing of unknown 4addr subtype
====================

Link: https://patch.msgid.link/20260831135117.574836-1-sw@simonwunderlich.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Jakub Kicinski 2026-09-04 15:42:18 -07:00
commit f8ddbec9df
8 changed files with 425 additions and 228 deletions