From owner-cvs-src-old@FreeBSD.ORG Tue Oct 20 17:45:15 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29B501065696 for ; Tue, 20 Oct 2009 17:45:15 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 180298FC17 for ; Tue, 20 Oct 2009 17:45:15 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9KHjEvq087793 for ; Tue, 20 Oct 2009 17:45:14 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9KHjE1i087792 for cvs-src-old@freebsd.org; Tue, 20 Oct 2009 17:45:14 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200910201745.n9KHjE1i087792@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Tue, 20 Oct 2009 17:44:50 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/netinet if_ether.c in.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 17:45:15 -0000 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