1
0
Fork 0
mirror of https://github.com/u-boot/u-boot.git synced 2025-04-26 07:17:10 +00:00
u-boot/net
Sughosh Ganu 51ebd514ec wget: rework the logic to validate the load address
Use the lmb_read_check() function to verify if it is safe to use a
region of memory to load data from the wget command. The current logic
checks the amount of free memory available, starting from the 'load
address'. This call fails if the same region of memory has been used
earlier. This used to work earlier as the LMB memory map had a local
scope and was not persistent. Fix this issue by using the
lmb_read_check() call instead which only returns an error in case the
memory region has been marked for not allowing re-use.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: Vaishnav Achath <vaishnav.a@ti.com>
2024-09-20 17:37:30 -06:00
..
arp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
arp.h global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
bootp.c include: export uuid.h 2024-09-12 17:35:37 +02:00
bootp.h net: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
cdp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cdp.h SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
dhcpv6.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dhcpv6.h net: dhcp6: Fix VCI string 2023-06-14 15:48:45 -04:00
dns.c net: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
dns.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dsa-uclass.c net: dsa: Fix OF fallback lookup for ports 2023-06-14 18:38:25 +08:00
eth-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
eth_bootdev.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
eth_common.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
eth_internal.h net: remove duplicate eth_env_set_enetaddr_by_index() declaration 2024-07-31 17:55:08 -06:00
fastboot_tcp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fastboot_udp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig Fix Kconfig coding style from spaces to tab 2024-07-05 13:57:02 -06:00
link_local.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
link_local.h global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
Makefile net: Fix compiling SPL when fastboot is enabled 2023-10-17 20:50:52 -04:00
mdio-mux-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mdio-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ndisc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
net.c net: guard call to tftp_start() with IS_ENABLED(CONFIG_CMD_TFTPBOOT) 2024-09-10 13:08:24 -06:00
net6.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
net_rand.h rng: Introduce SPL_DM_RNG 2024-05-05 11:21:39 -03:00
nfs.c net: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
nfs.h net: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
pcap.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ping.c net: Do not respond to ICMP_ECHO_REQUEST if we do not have an IP address 2021-01-19 09:15:02 -05:00
ping.h global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
ping6.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
rarp.c net: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
rarp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sntp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tcp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tftp.c tftp: rework the logic to validate the load address 2024-09-20 17:37:30 -06:00
udp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
wget.c wget: rework the logic to validate the load address 2024-09-20 17:37:30 -06:00
wol.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
wol.h net: Add new wol command - Wake on LAN 2018-07-02 14:14:20 -05:00