]> 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)
commit3c32f56b76f1ed7da4625952b86b4ac4e7fd9595
treebb338fcf3987a38680336278c43bb6c1ccdb7b39
parentfe046d3d78018fa1684d00f8fbf2fa9ad92933ac
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