[PATCH v3 0/3] NET_LWIP LMB fixes

Jerome Forissier jerome.forissier at linaro.org
Thu Apr 10 17:14:51 CEST 2025


Two small patches fixing issues with tftp and wget when the network
stack is NET_LWIP and LMB is enabled.

Changes in v3:
- New patch: net-lwip: wget_do_request(): do not print anything to the
  console
- store_block() [wget]: add Sphinx-like documentation
- store_block() [wget]: do not print to the console if ctx->silent
- store_block() [tftp]: add Sphinx-like documentation

Changes in v2:
- httpc_recv_cb(): add 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.

Jerome Forissier (3):
  net-lwip: wget_do_request(): do not print anything to the console
  net-lwip: wget: add LMB and buffer checks
  net-lwip: tftp: add LMB and buffer checks

 net/lwip/tftp.c | 56 +++++++++++++++++++++++------
 net/lwip/wget.c | 96 ++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 120 insertions(+), 32 deletions(-)

-- 
2.43.0



More information about the U-Boot mailing list