From owner-cvs-src@FreeBSD.ORG Fri Nov 11 16:25:13 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30BBF16A421 for ; Fri, 11 Nov 2005 16:25:13 +0000 (GMT) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 359D743D55 for ; Fri, 11 Nov 2005 16:25:11 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 50545 invoked from network); 11 Nov 2005 16:26:35 -0000 Received: from c00l3r.networx.ch (HELO freebsd.org) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 11 Nov 2005 16:26:35 -0000 Message-ID: <4374C5E8.4F372F3@freebsd.org> Date: Fri, 11 Nov 2005 17:25:12 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Gleb Smirnoff References: <200511081205.jA8C5vMW083076@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet if_ether.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 16:25:13 -0000 Gleb Smirnoff wrote: > > glebius 2005-11-08 12:05:57 UTC > > FreeBSD src repository > > Modified files: > sys/netinet if_ether.c > Log: > 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. I like this. Before it would report unreachable for some time and then no longer if the hold down time was over. Now it continuously sends it after the initial ARP lookup expired. -- Andre