From owner-svn-src-all@FreeBSD.ORG Fri Oct 29 10:57:18 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A998106564A; Fri, 29 Oct 2010 10:57:18 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8913F8FC16; Fri, 29 Oct 2010 10:57:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9TAvI1b011020; Fri, 29 Oct 2010 10:57:18 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9TAvIHK011017; Fri, 29 Oct 2010 10:57:18 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201010291057.o9TAvIHK011017@svn.freebsd.org> From: Gleb Smirnoff Date: Fri, 29 Oct 2010 10:57:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r214508 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 10:57:18 -0000 Author: glebius Date: Fri Oct 29 10:57:18 2010 New Revision: 214508 URL: http://svn.freebsd.org/changeset/base/214508 Log: Revert a small part of the r198301, that is entirely unrelated to the r198301 itself. It also broke the logic of not sending more than one ARP request per second, that consequently lead to a potential problem of flooding network with broadcast packets. MFC after: 1 week Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c ============================================================================== --- head/sys/netinet/if_ether.c Fri Oct 29 09:50:28 2010 (r214507) +++ head/sys/netinet/if_ether.c Fri Oct 29 10:57:18 2010 (r214508) @@ -381,7 +381,7 @@ retry: int canceled; LLE_ADDREF(la); - la->la_expire = time_second + V_arpt_down; + la->la_expire = time_second; canceled = callout_reset(&la->la_timer, hz * V_arpt_down, arptimer, la); if (canceled)