gluon/patches/packages/routing/0002-batman-adv-decrease-maximum-fragment-size.patch

37 lines
1.4 KiB
Diff
Raw Normal View History

From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Thu, 6 Aug 2015 21:29:47 +0200
Subject: batman-adv: decrease maximum fragment size
diff --git a/batman-adv/patches/1001-batman-adv-decrease-maximum-fragment-size.patch b/batman-adv/patches/1001-batman-adv-decrease-maximum-fragment-size.patch
new file mode 100644
index 0000000000000000000000000000000000000000..233c13b0bd4cef516763060d7e670650156a29d5
--- /dev/null
+++ b/batman-adv/patches/1001-batman-adv-decrease-maximum-fragment-size.patch
@@ -0,0 +1,26 @@
+From d84be91875822203c31b7243bb403293b0b82105 Mon Sep 17 00:00:00 2001
+Message-Id: <d84be91875822203c31b7243bb403293b0b82105.1486839948.git.mschiffer@universe-factory.net>
+From: Matthias Schiffer <mschiffer@universe-factory.net>
+Date: Thu, 6 Aug 2015 22:27:01 +0200
+Subject: [PATCH] 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
+index a6cc8040..5b785556 100644
+--- a/net/batman-adv/main.h
++++ b/net/batman-adv/main.h
+@@ -168,7 +168,7 @@ enum batadv_uev_type {
+ /* 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
+--
+2.11.1
2016-02-08 18:50:36 +00:00
+