ARP regression in releng-8

Harti Brandt hartmut.brandt at dlr.de
Sun Nov 22 13:21:21 UTC 2009


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


More information about the freebsd-net mailing list