mbox series

[v4,0/4] NET_LWIP LMB fixes

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

Message

Jerome Forissier April 15, 2025, 7:34 p.m. UTC
Two small patches fixing issues with tftp and wget when the network
stack is NET_LWIP and LMB is enabled. Plus one prerequisite patch
fixing a problem with wget that does printf()/puts()/putc() when
called from EFI which is not allowed (messes with the console output)
and a small refactoring in net/lwip/wget.c.

Changes in v4:
- See changelog in the individual patches

Jerome Forissier (4):
  net-lwip: change static function wget_loop() to be wget_do_request()
  net, net-lwip: wget: suppress console output when called by EFI
  net-lwip: wget: add LMB and buffer checks
  net-lwip: tftp: add LMB and buffer checks

 include/net-common.h     |   2 +
 lib/efi_loader/efi_net.c |   2 +-
 net/lwip/tftp.c          |  56 +++++++++++++++----
 net/lwip/wget.c          | 113 +++++++++++++++++++++++++++++----------
 net/wget.c               |  23 +++++---
 5 files changed, 150 insertions(+), 46 deletions(-)