net/tcp: change the log level to warning if iob_tryalloc fail

Change-Id: I544d8132ba89eebd9f29e793307010a35d9c161e
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2021-01-17 11:49:39 +08:00
committed by chao an
parent 1a0a0e84a0
commit 4e77f7cf9f
+1 -1
View File
@@ -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;
}
}