1 From 746d6436f88899a79c1cb3b27af0614510368bb7 Mon Sep 17 00:00:00 2001
2 From: Marek Lindner <mareklindner@neomailbox.ch>
3 Date: Wed, 15 Jan 2014 20:31:18 +0800
4 Subject: [PATCH 1/5] batman-adv: fix batman-adv header overhead calculation
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Batman-adv prepends a full ethernet header in addition to its own
10 header. This has to be reflected in the MTU calculation, especially
11 since the value is used to set dev->hard_header_len.
13 Introduced by f1f310d5c261f0214f85afea95d5cd11d49d64c6
14 ("batman-adv: consider network coding overhead when calculating required mtu")
16 Reported-by: cmsv <cmsv@wirelesspt.net>
17 Reported-by: Martin Hundebøll <martin@hundeboll.net>
18 Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
21 1 file changed, 1 insertion(+), 1 deletion(-)
23 diff --git a/main.c b/main.c
24 index 4547bf0..fd85205 100644
27 @@ -277,7 +277,7 @@ int batadv_max_header_len(void)
28 sizeof(struct batadv_coded_packet));
32 + return header_len + ETH_HLEN;