Patchwork [net-next] Documentation: fix neigh/default/gc_thresh1 default value.

login
register
mail settings
Submitter roy.qing.li@gmail.com
Date March 15, 2013, 8:49 a.m.
Message ID <1363337387-9536-1-git-send-email-roy.qing.li@gmail.com>
Download mbox | patch
Permalink /patch/227882/
State Accepted
Delegated to: David Miller
Headers show

Comments

roy.qing.li@gmail.com - March 15, 2013, 8:49 a.m.
From: Li RongQing <roy.qing.li@gmail.com>

The default value is 128, not 256
	#grep gc_thresh1 net/ -rI
	net/decnet/dn_neigh.c:	.gc_thresh1 =			128,
	net/ipv6/ndisc.c:	.gc_thresh1 =	 128,
	net/ipv4/arp.c:	.gc_thresh1	= 128,

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
---
 Documentation/networking/ip-sysctl.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
David Miller - March 15, 2013, 1:12 p.m.
From: roy.qing.li@gmail.com
Date: Fri, 15 Mar 2013 16:49:47 +0800

> From: Li RongQing <roy.qing.li@gmail.com>
> 
> The default value is 128, not 256
> 	#grep gc_thresh1 net/ -rI
> 	net/decnet/dn_neigh.c:	.gc_thresh1 =			128,
> 	net/ipv6/ndisc.c:	.gc_thresh1 =	 128,
> 	net/ipv4/arp.c:	.gc_thresh1	= 128,
> 
> Signed-off-by: Li RongQing <roy.qing.li@gmail.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index 1cae6c3..18a24c4 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -29,7 +29,7 @@  route/max_size - INTEGER
 neigh/default/gc_thresh1 - INTEGER
 	Minimum number of entries to keep.  Garbage collector will not
 	purge entries if there are fewer than this number.
-	Default: 256
+	Default: 128
 
 neigh/default/gc_thresh3 - INTEGER
 	Maximum number of neighbor entries allowed.  Increase this