Date: Fri, 29 Oct 2010 10:57:18 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r214508 - head/sys/netinet Message-ID: <201010291057.o9TAvIHK011017@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010291057.o9TAvIHK011017>