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

From: Masatake YAMATO
Date: Sat Aug 11 2012 - 16:33:27 EST


Declaring netlink protocols has its own proc entry.

Signed-off-by: Masatake YAMATO <yamato@xxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/