summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2008-10-31 21:08:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2008-10-31 21:08:34 +0000
commit5a8cc0a24954cf7f5e24e4c125179a80d5b3c5ed (patch)
treea413e94373c5a2e23336dc876040347ed4e24d66 /sys/netinet/if_ether.h
parent3ba94d9aa25f74adabb9aa2ed296c9542bb41112 (diff)
Be way more strict in the number of packets allowed to be queued in the
arp layer. With a lot of input from deraadt@. OK dlg@, looks good gollo@ + deraadt@
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 245e927f37d..9e61e09cc4a 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.42 2008/10/30 09:39:05 gollo Exp $ */
+/* $OpenBSD: if_ether.h,v 1.43 2008/10/31 21:08:33 claudio Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -169,7 +169,7 @@ struct llinfo_arp {
#define la_timer la_rt->rt_rmx.rmx_expire /* deletion time in seconds */
};
#define MAX_HOLD_QUEUE 10
-#define MAX_HOLD_TOTAL NMBCLUSTERS / 10
+#define MAX_HOLD_TOTAL 100
struct sockaddr_inarp {
u_int8_t sin_len;