[U-Boot] [PATCH] Convert CONFIG_IP_DEFRAG to Kconfig

Christian Gmeiner christian.gmeiner at gmail.com
Tue Feb 12 12:29:31 UTC 2019


This converts the following to Kconfig:
   CONFIG_IP_DEFRAG

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 net/Kconfig                  | 6 ++++++
 scripts/config_whitelist.txt | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/net/Kconfig b/net/Kconfig
index f2363e5256..5f5f632469 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -8,6 +8,12 @@ menuconfig NET
 
 if NET
 
+config IP_DEFRAG
+	bool "Support IP datagram reassembly"
+	help
+	  Selecting this will enable IP datagram reassembly according
+	  to the algorithm in RFC815.
+
 config NET_RANDOM_ETHADDR
 	bool "Random ethaddr if unset"
 	help
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 2b3572568b..6b746c5242 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -972,7 +972,6 @@ CONFIG_IPAM390_GPIO_BOOTMODE
 CONFIG_IPAM390_GPIO_LED_GREEN
 CONFIG_IPAM390_GPIO_LED_RED
 CONFIG_IPROC
-CONFIG_IP_DEFRAG
 CONFIG_IRAM_BASE
 CONFIG_IRAM_END
 CONFIG_IRAM_SIZE
-- 
2.20.1



More information about the U-Boot mailing list