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