From 035fdb49510b5fcde99d40d71164e16f3ef21b9f Mon Sep 17 00:00:00 2001 From: Zhe Weng Date: Tue, 3 Dec 2024 16:50:34 +0800 Subject: [PATCH] net: Refresh config dependency of NET_READAHEAD ICMP(v6) uses IOB queue as readahead, but TCP/UDP don't now. Signed-off-by: Zhe Weng --- mm/iob/Kconfig | 4 ++-- net/icmp/Kconfig | 2 +- net/icmpv6/Kconfig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/iob/Kconfig b/mm/iob/Kconfig index ce30937b5d..6dc8ea4ea3 100644 --- a/mm/iob/Kconfig +++ b/mm/iob/Kconfig @@ -62,8 +62,8 @@ config IOB_NCHAINS I/O buffer chain containers that also carry a payload of usage specific information. - Note: TCP doesn't use this. - Note: UDP and CAN use this. + Note: TCP and UDP don't use this. + Note: ICMP/ICMPv6 and CAN use this. config IOB_THROTTLE int "I/O buffer throttle value" diff --git a/net/icmp/Kconfig b/net/icmp/Kconfig index 865c492b51..1effc11331 100644 --- a/net/icmp/Kconfig +++ b/net/icmp/Kconfig @@ -37,7 +37,7 @@ config NET_ICMP_PMTU_TIMEOUT config NET_ICMP_SOCKET bool "IPPROTO_ICMP socket support" default n - select MM_IOB + select NET_READAHEAD ---help--- Enable support for IPPROTO_ICMP sockets. These sockets are needed for application level support for sending ECHO (ping) requests and diff --git a/net/icmpv6/Kconfig b/net/icmpv6/Kconfig index d831dcebab..c7ae060bc1 100644 --- a/net/icmpv6/Kconfig +++ b/net/icmpv6/Kconfig @@ -39,7 +39,7 @@ config NET_ICMPv6_PMTU_TIMEOUT config NET_ICMPv6_SOCKET bool "IPPROTO_ICMP6 socket support" default n - select MM_IOB + select NET_READAHEAD ---help--- Enable support for IPPROTO_ICMP6 sockets. These sockets are needed for application level support for sending ICMPv7 ECHO requests and