diff options
| author | Andrew Goodbody <[email protected]> | 2025-12-05 09:46:48 +0000 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2026-01-15 11:09:28 +0100 |
| commit | 492ff73de699a40d9eec22b9afe631061b8baef0 (patch) | |
| tree | cb897faf2ab0029f933bc8a349a914445bb42f41 | |
| parent | d503633a36767d756c7de28305cf0de79440cbc0 (diff) | |
net:lwip: Add debug line to net-lwip
When debugging the LWIP NFS implementation this debug line helped to
show the cause of an error. This could be useful to someone in the
future.
Signed-off-by: Andrew Goodbody <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
| -rw-r--r-- | net/lwip/net-lwip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c index 8741f65fe12..f70857204b2 100644 --- a/net/lwip/net-lwip.c +++ b/net/lwip/net-lwip.c @@ -297,6 +297,7 @@ static struct pbuf *alloc_pbuf_and_copy(uchar *data, int len) /* We allocate a pbuf chain of pbufs from the pool. */ p = pbuf_alloc(PBUF_RAW, len, PBUF_POOL); if (!p) { + debug("Failed to allocate pbuf !!!!!\n"); LINK_STATS_INC(link.memerr); LINK_STATS_INC(link.drop); return NULL; |
