projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
229bf0c
)
proc: show per-net ip_devconf.forwarding in /proc/net/snmp
author
Pavel Emelyanov
<xemul@openvz.org>
Fri, 18 Jul 2008 11:06:26 +0000
(
04:06
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 18 Jul 2008 11:06:26 +0000
(
04:06
-0700)
This one has become per-net long ago, but the appropriate file
is per-net only now.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/proc.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/proc.c
b/net/ipv4/proc.c
index 367b81f6f57aa9f49565e37935e00c25b7e5d658..120e1f7461da16a5a75aeeab02108df5d884f337 100644
(file)
--- a/
net/ipv4/proc.c
+++ b/
net/ipv4/proc.c
@@
-342,7
+342,7
@@
static int snmp_seq_show(struct seq_file *seq, void *v)
seq_printf(seq, " %s", snmp4_ipstats_list[i].name);
seq_printf(seq, "\nIp: %d %d",
- IPV4_DEVCONF_ALL(
&init_
net, FORWARDING) ? 1 : 2,
+ IPV4_DEVCONF_ALL(net, FORWARDING) ? 1 : 2,
sysctl_ip_default_ttl);
for (i = 0; snmp4_ipstats_list[i].name != NULL; i++)