]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: consider network coding overhead when calculating required mtu
authorMarek Lindner <lindner_marek@yahoo.de>
Wed, 8 May 2013 05:31:59 +0000 (13:31 +0800)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 12 Oct 2013 15:17:09 +0000 (17:17 +0200)
commitaa14cbf012082d7f78aea68cad7cab9ac96743c2
tree00a52bc5c70d465129c85d48e52ced2186649660
parentfb357690850cb4c554c86400c7400f91684fcb43
batman-adv: consider network coding overhead when calculating required mtu

The module prints a warning when the MTU on the hard interface is too
small to transfer payload traffic without fragmentation. The required
MTU is calculated based on the encapsulation header size. If network
coding is compild into the module its header size is taken into
account as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/hard-interface.c
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/soft-interface.c
net/batman-adv/types.h