aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2010-10-29 10:57:18 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2010-10-29 10:57:18 +0000
commit28e1f17c810a4b7a3bcc70ff7dea6c9c91d37f16 (patch)
tree9a7f297b366a51b0c3d146a8395032f3e9a9c9f5 /sys
parent6ed79f06f4eed9e19122300b313c4f596f272dc2 (diff)
downloadsrc-28e1f17c810a4b7a3bcc70ff7dea6c9c91d37f16.tar.gz
src-28e1f17c810a4b7a3bcc70ff7dea6c9c91d37f16.zip
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
Notes
Notes: svn path=/head/; revision=214508
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/if_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index a6ea36e94eb8..fb9970801029 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -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)