From owner-cvs-src-old@FreeBSD.ORG Thu Oct 15 06:12:23 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 11E17106566B for ; Thu, 15 Oct 2009 06:12:23 +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 F3AF68FC1C for ; Thu, 15 Oct 2009 06:12:22 +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 n9F6CMWF063760 for ; Thu, 15 Oct 2009 06:12:22 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9F6CM7J063759 for cvs-src-old@freebsd.org; Thu, 15 Oct 2009 06:12:22 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200910150612.n9F6CM7J063759@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Thu, 15 Oct 2009 06:12:04 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Thu, 15 Oct 2009 06:12:23 -0000 qingli 2009-10-15 06:12:04 UTC FreeBSD src repository Modified files: sys/netinet if_ether.c in.c Log: SVN rev 198111 on 2009-10-15 06:12:04Z by qingli 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. Reviewed by: kmacy MFC after: 3 days Revision Changes Path 1.213 +10 -7 src/sys/netinet/if_ether.c 1.152 +8 -3 src/sys/netinet/in.c