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

[PATCH v2 09/15] netlink: declaring netlink protocols has its own proc entry

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

Declaring netlink protocols has its own proc entry.

Signed-off-by: Masatake YAMATO <redacted>
---
 net/netlink/af_netlink.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 5463969..9094be5 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -410,6 +410,7 @@ static struct proto netlink_proto = {
 	.name	  = "NETLINK",
 	.owner	  = THIS_MODULE,
 	.obj_size = sizeof(struct netlink_sock),
+	.has_own_proc_entry= 1,
 };
 
 static int __netlink_create(struct net *net, struct socket *sock,
-- 
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