diff options
| author | Pranav Sanwal <[email protected]> | 2026-03-26 16:11:58 +0530 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2026-03-31 16:54:49 +0200 |
| commit | 44c7f95987e36de3e034051ed3bbf07c91a8fc16 (patch) | |
| tree | 868ac128db0c4023500c5eeddbe98cc9f157531a /include/linux | |
| parent | 1fc34e1bb8c727354b5f5f908ecefadbd6fe1d6b (diff) | |
net: lwip: tftp: update image_load_addr after successful transfer
do_tftpb() parses the load address into a local variable laddr but
never updates the global image_load_addr. Commands that rely on
image_load_addr as their default address (e.g. 'bmp info')
therefore operate on the wrong address when called without
an explicit argument after tftpboot.
Update image_load_addr to laddr only on a successful transfer, so
that it accurately reflects where data was actually loaded.
Fixes: 4d4d7838127e ("net: lwip: add TFTP support and tftpboot command")
Signed-off-by: Pranav Sanwal <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
