[PATCH v2 0/2] NET_LWIP LMB fixes

Jerome Forissier jerome.forissier at linaro.org
Wed Apr 9 14:20:04 CEST 2025


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(-)

-- 
2.43.0



More information about the U-Boot mailing list