svn commit: r214508 - head/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Fri Oct 29 10:57:18 UTC 2010


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)


More information about the svn-src-all mailing list