From: Antonio Quartulli Date: Tue, 21 Jan 2014 10:22:05 +0000 (+0100) Subject: batman-adv: fix soft-interface MTU computation X-Git-Tag: v3.14-rc4~30^2~7^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=930cd6e46eadce8b8ed2a232ee536e5fd286c152;p=pandora-kernel.git batman-adv: fix soft-interface MTU computation The current MTU computation always returns a value smaller than 1500bytes even if the real interfaces have an MTU large enough to compensate the batman-adv overhead. Fix the computation by properly returning the highest admitted value. Introduced by a19d3d85e1b854e4a483a55d740a42458085560d ("batman-adv: limit local translation table max size") Reported-by: Russell Senior Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner --- Reading git-diff-tree failed