svn commit: r215791 - stable/8/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Wed Nov 24 05:37:12 UTC 2010


Author: glebius
Date: Wed Nov 24 05:37:12 2010
New Revision: 215791
URL: http://svn.freebsd.org/changeset/base/215791

Log:
  MFhead r214508:
    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.

Modified:
  stable/8/sys/netinet/if_ether.c

Modified: stable/8/sys/netinet/if_ether.c
==============================================================================
--- stable/8/sys/netinet/if_ether.c	Wed Nov 24 05:24:36 2010	(r215790)
+++ stable/8/sys/netinet/if_ether.c	Wed Nov 24 05:37:12 2010	(r215791)
@@ -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)


More information about the svn-src-all mailing list