rv1126-uboot/net
Jim Lin 7315cfd9e1 NET: Fix system hanging if NET device is not installed
If we try to boot from NET device, NetInitLoop in net.c will be invoked.
If NET device is not installed, eth_get_dev() function will return
eth_current value, which is NULL.
When NetInitLoop is called, "eth_get_dev->enetaddr" will access
restricted memory area and therefore cause hanging.
This issue is found on Tegra30 Cardhu platform after adding
CONFIG_CMD_NET and CONFIG_CMD_DHCP in config header file.

Signed-off-by: Jim Lin <jilin@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
2013-06-19 08:32:44 -04:00
..
Makefile
arp.c net/: sparse fixes 2012-11-04 11:00:36 -07:00
arp.h
bootp.c net/: sparse fixes 2012-11-04 11:00:36 -07:00
bootp.h
cdp.c
cdp.h
dns.c
dns.h
eth.c
link_local.c net: Fix endianness bug in link-local 2012-12-15 12:28:23 -06:00
link_local.h
net.c NET: Fix system hanging if NET device is not installed 2013-06-19 08:32:44 -04:00
net_rand.h
nfs.c
nfs.h
ping.c
ping.h net/: sparse fixes 2012-11-04 11:00:36 -07:00
rarp.c
rarp.h
sntp.c
sntp.h
tftp.c net: Add tftp speed indication 2012-12-15 12:28:22 -06:00
tftp.h net/: sparse fixes 2012-11-04 11:00:36 -07:00