mbox series

[v3,0/3] NET_LWIP LMB fixes

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

Message

Jerome Forissier April 10, 2025, 3:14 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 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(-)