]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: send each broadcast only once on non-wireless interfaces
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 9 Mar 2013 22:14:23 +0000 (23:14 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:53 +0000 (02:44 +0200)
commit56d6446dd816464a4b620ff5c14e29a45b5d7418
treebb338fcf3987a38680336278c43bb6c1ccdb7b39
parent624e51ffb4263a235ceb9c73bcf7b5f4af6ce6df
batman-adv: send each broadcast only once on non-wireless interfaces

While it makes sense to send each broadcast thrice on 802.11 (WLAN) interfaces
as broadcasts are often unreliable on these, there is no reason to do so on
other interface types.

The increased the overhead can be harmful on low-bandwidth links like VPN
connections over slow internet lines, therefore it is better to reduce the
number of broadcast packets sent on non-wireless links to one.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/hard-interface.c
net/batman-adv/main.h
net/batman-adv/send.c
net/batman-adv/types.h