mbox series

[v2,0/2] NET_LWIP LMB fixes

Message ID 20250409122007.2560668-1-jerome.forissier@linaro.org
Headers show
Series NET_LWIP LMB fixes | expand

Message

Jerome Forissier April 9, 2025, 12:20 p.m. UTC
Two small patches fixing issues with tftp and wget when the network
stack is NET_LWIP and LMB is enabled.

Changes in v2:
- The wget patch adds a call to altcp_abort(). Otherwise the transfer
continues and we try to write later blocks which makes no sense if one
has been rejected already. Thanks Sughosh G. for testing and reporting.
- The tftp patch is unchanged.

Jerome Forissier (2):
  net-lwip: wget: add LMB and buffer checks
  net-lwip: tftp: add LMB and buffer checks

 net/lwip/tftp.c | 45 ++++++++++++++++++++++++++++++++++-----------
 net/lwip/wget.c | 49 +++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 75 insertions(+), 19 deletions(-)