[B.A.T.M.A.N.] [PATCH v3 0/2] batman-adv: increase DAT DHT timeout
linus.luessing at c0d3.blue
Sun Apr 7 12:37:00 CEST 2019
This is the third attempt to increase the DAT DHT timeout to reduce the
amount of broadcasted ARP Replies.
To increase the timeout only for DAT DHT entries added via DHT-PUT but
not for any other entry in the DAT cache the DAT cache and DAT DHT
concepts are first split into two separate hash tables (PATCH 1/2).
PATCH 2/2 then increases the timeout for DAT DHT entries from 5 to
The motivation for this patchset is based on the observations made here:
"batman-adv: Increase DHCP snooped DAT entry purge timeout in DHT"
- removed the extended timeouts flag in the DHT-PUT messages introduced
in v1 again
- removed DHCP dependency
"batman-adv: Increase purge timeout on DAT DHT candidates"
- fixed the potential jiffies overflow and jiffies initialization
issues by replacing the last_dht_update timeout variable with
a split of DAT cache and DAT DHT into two separate hash tables
-> instead of maintaining two timeouts in one DAT entry two DAT
entries are created and maintained in their respective DAT
cache and DAT DHT hash tables
More information about the B.A.T.M.A.N