Thread (18 messages) flat view 18 messages, 2 authors, 2012-08-12
STALE5143d

[PATCH v2 03/15] ipv4: declaring icmp protocols has its own proc entry

From: Masatake YAMATO <hidden>
Date: 2012-08-11 20:35:56
Also in: lkml
Subsystem: networking [general], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Declaring icmp protocols has its own proc entry.

Signed-off-by: Masatake YAMATO <redacted>
---
 net/ipv4/ping.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c
index 6232d47..c4bb504 100644
--- a/net/ipv4/ping.c
+++ b/net/ipv4/ping.c
@@ -748,6 +748,7 @@ struct proto ping_prot = {
 	.unhash =	ping_v4_unhash,
 	.get_port =	ping_v4_get_port,
 	.obj_size =	sizeof(struct inet_sock),
+	.has_own_proc_entry= 1,
 };
 EXPORT_SYMBOL(ping_prot);
 
-- 
1.7.11.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help