[PATCH 0/6] net: minor cleanups & avoid endless retries

Wolfram Sang w.sang at pengutronix.de
Wed Apr 4 12:04:38 EDT 2012


For scripted update scenarios, endless retries on commands like ping or tftp is
unwanted. Use a retry now and timeout. Apply minor cleanups found on the way.

Wolfram Sang (6):
  net: ping: send PING packets with 1-second interval
  net: ping: remove unneeded initialization
  net: tftp: check for error when retrying
  net: arp_request: do not retry endlessly
  net: tftp: do not retry endlessly
  net: ping: do not retry endlessly

 include/net.h |    2 ++
 net/net.c     |    5 +++++
 net/ping.c    |   12 ++++++++++--
 net/tftp.c    |   14 +++++++++++++-
 4 files changed, 30 insertions(+), 3 deletions(-)

-- 
1.7.9.1




More information about the barebox mailing list