[PATCH v2 2/5] net: lwip: enable IP_FRAG and IP_REASSEMBLY

Tim Harvey tharvey at gateworks.com
Fri May 30 17:38:23 CEST 2025


Enable IP_FRAG and IP_REASSEMBLY to allow packets larger than MTU.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
Reviewed-by: Jerome Forissier <jerome.forissier at linaro.org>
---
v2:
 - added tags
---
 lib/lwip/u-boot/lwipopts.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/lwip/u-boot/lwipopts.h b/lib/lwip/u-boot/lwipopts.h
index edac74ff7a21..1818a445dc5e 100644
--- a/lib/lwip/u-boot/lwipopts.h
+++ b/lib/lwip/u-boot/lwipopts.h
@@ -72,8 +72,8 @@
 
 #define IP_FORWARD                      0
 #define IP_OPTIONS_ALLOWED              1
-#define IP_REASSEMBLY                   0
-#define IP_FRAG                         0
+#define IP_REASSEMBLY                   1
+#define IP_FRAG                         1
 #define IP_REASS_MAXAGE                 3
 #define IP_REASS_MAX_PBUFS              4
 #define IP_FRAG_USES_STATIC_BUF         0
-- 
2.25.1



More information about the U-Boot mailing list