From 8a380a084d1ceaef75d7f559778603053a31794c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 10 Feb 2015 06:25:55 -0600 Subject: [PATCH] IOB Configuration: Default number of IOB changes must be more than zero is UDP read-ahead is enabled. --- net/iob/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/iob/Kconfig b/net/iob/Kconfig index 4d817205c5..7b34185abc 100644 --- a/net/iob/Kconfig +++ b/net/iob/Kconfig @@ -34,8 +34,8 @@ config IOB_BUFSIZE config IOB_NCHAINS int "Number of pre-allocated I/O buffer chain heads" - default 0 if !NET_TCP_READAHEAD - default 8 if NET_TCP_READAHEAD + default 0 if !NET_TCP_READAHEAD && !NET_UDP_READAHEAD + default 8 if NET_TCP_READAHEAD || NET_UDP_READAHEAD ---help--- These tiny nodes are used as "containers" to support queueing of I/O buffer chains. This will limit the number of I/O transactions