]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: improved gateway tq-based selection
authorAntonio Quartulli <ordex@autistici.org>
Tue, 26 Apr 2011 19:31:45 +0000 (21:31 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 20 Jun 2011 09:37:41 +0000 (11:37 +0200)
commit6b7d163a1e2acc32a05699634084154513377ed1
tree056303a6b33a23a74610cceee11c946847b22c61
parentf23f0e0dd9bdb028ce0b4b6e1a89c7fd191df06d
batman-adv: improved gateway tq-based selection

If a client issues a DHCPREQUEST for renewal, the packet is dropped
if the old destination (the old gateway for the client) TQ is smaller
than the current best gateway TQ less GW_THRESHOLD

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/gateway_client.c
net/batman-adv/gateway_client.h
net/batman-adv/main.h
net/batman-adv/soft-interface.c