summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2010-10-29 10:57:18 +0000
committerglebius <glebius@FreeBSD.org>2010-10-29 10:57:18 +0000
commit20ab72ce86c1a602b6df0e46abcc02a1f06ef957 (patch)
tree9a7f297b366a51b0c3d146a8395032f3e9a9c9f5 /sys/netinet/if_ether.c
parentf8b62a47595264bca5888ceffa7c69ee036ed8a7 (diff)
downloadFreeBSD-src-20ab72ce86c1a602b6df0e46abcc02a1f06ef957.zip
FreeBSD-src-20ab72ce86c1a602b6df0e46abcc02a1f06ef957.tar.gz
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
Diffstat (limited to 'sys/netinet/if_ether.c')
-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 a6ea36e..fb99708 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)
OpenPOWER on IntegriCloud