Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 14:09:12 +0100 (CET)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        freebsd-net@freebsd.org
Subject:   ARP regression in releng-8
Message-ID:  <20091122130156.F52486@beagle.kn.op.dlr.de>

next in thread | raw e-mail | index | archive | help
Hi all,

I try to figure out something simple like the ARP retransmission timeout 
to populate the ipv4InterfaceRetransmitTime in the RFC4293 MIB. In line 
357 of netinet/if_ether.c it says:

         /*
          * Return EWOULDBLOCK if we have tried less than arp_maxtries. It
          * will be masked by ether_output(). Return EHOSTDOWN/EHOSTUNREACH
          * if we have already sent arp_maxtries ARP requests. Retransmit 
the
          * ARP request, but not faster than one request per second.
          */

Unfortunately the comment about the 1s minimum retransmit interval is 
there, but the code not. A simple ping -f shows the code transmitting ARP 
requests every 30 milliseconds, which is not good in my opinion. releng-7 
(with the old L2 code) works correctly.

BTW, what means the comment on line 282 in the same file?

         /* XXXXX
          */

harti



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091122130156.F52486>