| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] gc_min_interval in milleseconds via /proc |
| From: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx> |
| Date: | Wed, 26 Jan 2005 16:20:42 +0100 |
| Cc: | netdev@xxxxxxxxxxx, Robert.Olsson@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hello!
The second resolution is very inconvenient. Milleseconds would be nicer.
cat /proc/sys/net/ipv4/route/gc_min_interval
500
--- net/ipv4/route.c.orig 2005-01-25 13:58:29.210846472 +0100
+++ net/ipv4/route.c 2005-01-25 14:25:52.116086912 +0100
@@ -2532,9 +2532,9 @@
.ctl_name = NET_IPV4_ROUTE_GC_MIN_INTERVAL,
.procname = "gc_min_interval",
.data = &ip_rt_gc_min_interval,
- .maxlen = sizeof(int),
+ .maxlen = sizeof(unsigned long),
.mode = 0644,
- .proc_handler = &proc_dointvec_jiffies,
+ .proc_handler = &proc_doulongvec_ms_jiffies_minmax,
.strategy = &sysctl_jiffies,
},
--ro
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [RFC] string matching ematch, Thomas Graf |
|---|---|
| Next by Date: | [PATCH 1 of 5][ATM]: [fore200e] can't sleep in transmit routine, chas williams - CONTRACTOR |
| Previous by Thread: | [RFC] string matching ematch, Thomas Graf |
| Next by Thread: | Re: [PATCH] gc_min_interval in milleseconds via /proc, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |