summaryrefslogtreecommitdiffstats
path: root/common/dummy_malloc.c
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2018-10-15 12:26:11 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-16 08:51:53 +0200
commit2c76867dce40761575f9f3e5cbf7d49e03af3de5 (patch)
treef39a32cc65ee30e06c32f4ff3557fbffa5810495 /common/dummy_malloc.c
parent8d99417f72bfd4ba716dcdc87ab4450331203531 (diff)
downloadbarebox-2c76867dce40761575f9f3e5cbf7d49e03af3de5.tar.gz
net: make routing work after dhcp command
At the moment only ifup stuff turns netif up. After the commit f0624a701513 ('net: Do not route traffic to interfaces that are not up') the dhcp command keeps netif->ifup == false and network subsystem can't route packets. How to repropduce the problem on qemu-malta_defconfig: qemu-system-mips -nodefaults -M malta -m 256 \ -nographic -serial stdio -monitor null \ -bios barebox-flash-image \ -net user -net nic,model=rtl8139 ... barebox:/ dhcp eth0: 100Mbps full duplex link detected eth0: DHCP client bound to address 10.0.2.15 barebox:/ ping 10.0.2.2 ping failed: No route to host However if ifup command is used for network interface configuration then there is no network problem, e.g. barebox:/ ifup eth0 eth0: 100Mbps full duplex link detected eth0: DHCP client bound to address 10.0.2.15 barebox:/ ping 10.0.2.2 host 10.0.2.2 is alive Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> CC: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/dummy_malloc.c')
0 files changed, 0 insertions, 0 deletions