From 4e77f7cf9fa5c6fcf04c00c53830a2408702e1bc Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Sun, 17 Jan 2021 11:49:39 +0800 Subject: [PATCH] net/tcp: change the log level to warning if iob_tryalloc fail Change-Id: I544d8132ba89eebd9f29e793307010a35d9c161e Signed-off-by: chao.an --- net/tcp/tcp_callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tcp/tcp_callback.c b/net/tcp/tcp_callback.c index e063eb89941..2d849a289af 100644 --- a/net/tcp/tcp_callback.c +++ b/net/tcp/tcp_callback.c @@ -264,7 +264,7 @@ uint16_t tcp_datahandler(FAR struct tcp_conn_s *conn, FAR uint8_t *buffer, if (iob == NULL) { - nerr("ERROR: Failed to create new I/O buffer chain\n"); + nwarn("ERROR: Failed to create new I/O buffer chain\n"); return 0; } }