Date: Fri, 25 Nov 2005 14:38:19 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet if_ether.c Message-ID: <200511251438.jAPEcJLM022531@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-11-25 14:38:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet if_ether.c Log: MFC 1.145: Rework ARP retransmission algorythm so that ARP requests are retransmitted without suppression, while there is demand for such ARP entry. As before, retransmission is rate limited to one packet per second. Details: - Remove net.link.ether.inet.host_down_time - Do not set/clear RTF_REJECT flag on route, to avoid rt_check() returning error. We will generate error ourselves. - Return EWOULDBLOCK on first arp_maxtries failed requests , and return EHOSTDOWN/EHOSTUNREACH on further requests. - Retransmit ARP request always, independently from return code. Ratelimit to 1 pps. MFC 1.142: Use monotonic 'time_uptime' instead of 'time_second' as timebase for rt->rt_rmx.rmx_expire. Revision Changes Path 1.137.2.5 +28 -31 src/sys/netinet/if_ether.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511251438.jAPEcJLM022531>