]> 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)
commit71ac4ae23ee99818c36a474fd7daf4b32d757f76
tree00a52bc5c70d465129c85d48e52ced2186649660
parentb75e28764d24703d65cf351772b6fefc03f7d54a
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