2015-08-06 19:30:45 +00:00
|
|
|
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
Date: Thu, 6 Aug 2015 21:29:47 +0200
|
|
|
|
Subject: batman-adv: decrease maximum fragment size
|
|
|
|
|
2015-08-06 19:42:48 +00:00
|
|
|
diff --git a/batman-adv/patches/1002-batman-adv-decrease-maximum-fragment-size.patch b/batman-adv/patches/1002-batman-adv-decrease-maximum-fragment-size.patch
|
2015-08-06 19:30:45 +00:00
|
|
|
new file mode 100644
|
2016-12-20 00:09:53 +00:00
|
|
|
index 0000000000000000000000000000000000000000..1a0b561d73cdd06117b8327945ed78ffe8951c52
|
2015-08-06 19:30:45 +00:00
|
|
|
--- /dev/null
|
2015-08-06 19:42:48 +00:00
|
|
|
+++ b/batman-adv/patches/1002-batman-adv-decrease-maximum-fragment-size.patch
|
2016-02-08 18:50:36 +00:00
|
|
|
@@ -0,0 +1,28 @@
|
2016-12-11 00:16:27 +00:00
|
|
|
+From 32afa5d50ed6d5c3df288a0fb174ab512e9f9450 Mon Sep 17 00:00:00 2001
|
|
|
|
+Message-Id: <32afa5d50ed6d5c3df288a0fb174ab512e9f9450.1481414736.git.mschiffer@universe-factory.net>
|
|
|
|
+In-Reply-To: <eaeec9a5366d5e21fe07063ccede2edb7aa55e8e.1481414736.git.mschiffer@universe-factory.net>
|
|
|
|
+References: <eaeec9a5366d5e21fe07063ccede2edb7aa55e8e.1481414736.git.mschiffer@universe-factory.net>
|
2015-08-06 20:31:28 +00:00
|
|
|
+From: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
+Date: Thu, 6 Aug 2015 22:27:01 +0200
|
|
|
|
+Subject: [PATCH 2/2] batman-adv: decrease maximum fragment size
|
|
|
|
+
|
|
|
|
+---
|
|
|
|
+ net/batman-adv/main.h | 2 +-
|
|
|
|
+ 1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
+
|
2016-02-08 18:50:36 +00:00
|
|
|
+diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
|
2016-12-11 00:16:27 +00:00
|
|
|
+index 09af21e..23ebb8e 100644
|
2015-08-06 20:31:28 +00:00
|
|
|
+--- a/net/batman-adv/main.h
|
|
|
|
++++ b/net/batman-adv/main.h
|
2016-12-11 00:16:27 +00:00
|
|
|
+@@ -167,7 +167,7 @@ enum batadv_uev_type {
|
2015-08-06 19:30:45 +00:00
|
|
|
+ /* Maximum number of fragments for one packet */
|
|
|
|
+ #define BATADV_FRAG_MAX_FRAGMENTS 16
|
|
|
|
+ /* Maxumim size of each fragment */
|
|
|
|
+-#define BATADV_FRAG_MAX_FRAG_SIZE 1400
|
|
|
|
++#define BATADV_FRAG_MAX_FRAG_SIZE 1280
|
|
|
|
+ /* Time to keep fragments while waiting for rest of the fragments */
|
|
|
|
+ #define BATADV_FRAG_TIMEOUT 10000
|
|
|
|
+
|
2016-02-08 18:50:36 +00:00
|
|
|
+--
|
2016-12-11 00:16:27 +00:00
|
|
|
+2.10.2
|
2016-02-08 18:50:36 +00:00
|
|
|
+
|