batman-adv: make aggregated hash keys easier to identify
Get series with b4
b4 am [email protected] change-id 20261013-hash-key-73f787e86734Versions newest first
- v2 Latest6 patches 1 replyIn review
- v16 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- resend due to problems in the sashiko pipeline
- Link to v1: https://patch.msgid.link/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | batman-adv: bla: use dedicated key type for claim hashnet/ net/ | +60 | 0 replies | |
| 2/6 | batman-adv: bla: use dedicated key type for backbone gateway hashnet/ net/ | +62 | 1 reply | |
| 3/6 | batman-adv: dat: use dedicated key type for DAT hashnet/ net/ | +49 | 0 replies | |
| 4/6 | batman-adv: tt: use dedicated key type for hashesnet/ net/ | +101 | 0 replies | |
| 5/6 | batman-adv: originator: pass explicit key to orig_hashnet/ net/ net/ +1 more | +13 | 0 replies | |
| 6/6 | batman-adv: hash: document key argument of hash operationsnet/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH batadv v2 0/6] batman-adv: make aggregated hash keys easier to identify
Some of the fixes in the recent past were about the incorrectly hashing and/or comparison of hash keys. I took the opportunity to have an easier identifiable key for the hashes by using a separate struct in case they are aggregated types.
As side effect, it is now possible to reserve less stack space when trying to find an hash entry. Only they is now needed for the search.
---
Changes in v2:
- resend due to problems in the sashiko pipeline
- Link to v1: https://patch.msgid.link/[email protected]
---
Sven Eckelmann (6):
batman-adv: bla: use dedicated key type for claim hash
batman-adv: bla: use dedicated key type for backbone gateway hash
batman-adv: dat: use dedicated key type for DAT hash
batman-adv: tt: use dedicated key type for hashes
batman-adv: originator: pass explicit key to orig_hash
batman-adv: hash: document key argument of hash operations
net/batman-adv/bat_iv_ogm.c | 2 +- net/batman-adv/bat_v_ogm.c | 2 +- net/batman-adv/bridge_loop_avoidance.c | 201 +++++++++++++++++---------------- net/batman-adv/distributed-arp-table.c | 73 ++++++------ net/batman-adv/hash.h | 13 +-- net/batman-adv/originator.c | 19 ++-- net/batman-adv/originator.h | 2 +- net/batman-adv/translation-table.c | 177 +++++++++++++++-------------- net/batman-adv/types.h | 57 ++++++++-- 9 files changed, 291 insertions(+), 255 deletions(-)
---
base-commit: 0a79fef370780da6a67906bf2d83be8e2bd4e24d
change-id: 20261013-hash-key-73f787e86734
Best regards,
Signature · 1 line
Sven Eckelmann <[email protected]>