]> git.karo-electronics.de Git - karo-tx-linux.git/commit
batman-adv: reduce local TT entry timeout to 10 minutes
authorAntonio Quartulli <ordex@autistici.org>
Thu, 8 Nov 2012 21:16:15 +0000 (22:16 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sat, 12 Jan 2013 10:58:19 +0000 (20:58 +1000)
commit7cf4d520fdb72250b769920274279249629881ce
tree454c71b5d7e40c886aed76f8b35be95359ef3f7c
parent02233e0c75fc512ca60e7e82943f0a4395a85411
batman-adv: reduce local TT entry timeout to 10 minutes

The current timeout is set to one hour. However a client connected to the mesh
network will always generate traffic. In the worst case it will send ARP
requests every 4 or 5 minutes. On the other hand having a long timeout means
storing dead entries for one hour and it leads to very big trans-tables
containing useless clients.

This patch reduces the timeout to 10 minutes

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/main.h