Date: Tue, 20 Oct 2009 17:44:50 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet if_ether.c in.c Message-ID: <200910201745.n9KHjE1i087792@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
qingli 2009-10-20 17:44:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/netinet if_ether.c in.c
Log:
SVN rev 198298 on 2009-10-20 17:44:50Z by qingli
MFC r198111
This patch fixes the following issues in the ARP operation:
1. There is a regression issue in the ARP code. The incomplete
ARP entry was timing out too quickly (1 second timeout), as
such, a new entry is created each time arpresolve() is called.
Therefore the maximum attempts made is always 1. Consequently
the error code returned to the application is always 0.
2. Set the expiration of each incomplete entry to a 20-second
lifetime.
3. Return "incomplete" entries to the application.
4. The return error code was incorrect.
Reviewed by: kmacy
Approved by: re
Revision Changes Path
1.208.2.4 +10 -7 src/sys/netinet/if_ether.c
1.143.2.9 +8 -3 src/sys/netinet/in.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910201745.n9KHjE1i087792>
