summaryrefslogtreecommitdiff
path: root/nuttx/net/iob/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/iob/Kconfig')
-rw-r--r--nuttx/net/iob/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/iob/Kconfig b/nuttx/net/iob/Kconfig
index 4d817205c..7b34185ab 100644
--- a/nuttx/net/iob/Kconfig
+++ b/nuttx/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