Make TCP give up immediately when it receives -ENETUNREACH from
authorMichael Brown <mcb30@etherboot.org>
Sun, 14 Jan 2007 16:47:03 +0000 (16:47 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 14 Jan 2007 16:47:03 +0000 (16:47 +0000)
commit76aa9ad07d1bfdce072c8b4e1ecd18e6077e6c41
treef3117559872e973db34289a27f9f8e97ca31fb04
parentc953c1a1c3b7bec62a3a622a93ec641417bed656
Make TCP give up immediately when it receives -ENETUNREACH from
tcpip_tx().  This avoids the irritating wait when you accidentally type
"kernel pxelinux.0" before bringing up the network interface.

Add ENETUNREACH to strerror()'s list.
src/hci/strerror.c
src/net/tcp.c