From: Marek Lindner Date: Wed, 15 Jan 2014 12:31:18 +0000 (+0800) Subject: batman-adv: fix batman-adv header overhead calculation X-Git-Tag: v3.13~4^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1df0cbd509bc21b0c331358c1f9d9a6fc94bada8;p=pandora-kernel.git batman-adv: fix batman-adv header overhead calculation Batman-adv prepends a full ethernet header in addition to its own header. This has to be reflected in the MTU calculation, especially since the value is used to set dev->hard_header_len. Introduced by 411d6ed93a5d0601980d3e5ce75de07c98e3a7de ("batman-adv: consider network coding overhead when calculating required mtu") Reported-by: cmsv Reported-by: Martin Hundebøll Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed