Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755411Ab2HKUdD (ORCPT ); Sat, 11 Aug 2012 16:33:03 -0400 Received: from h219-110-095-176.catv01.itscom.jp ([219.110.95.176]:49265 "EHLO localhost.localdomain" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755090Ab2HKUcn (ORCPT ); Sat, 11 Aug 2012 16:32:43 -0400 X-Greylist: delayed 1500 seconds by postgrey-1.27 at vger.kernel.org; Sat, 11 Aug 2012 16:32:27 EDT From: Masatake YAMATO To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masatake YAMATO Subject: [PATCH v2 09/15] netlink: declaring netlink protocols has its own proc entry Date: Sun, 12 Aug 2012 05:07:12 +0900 Message-Id: <1344715638-22997-9-git-send-email-yamato@redhat.com> X-Mailer: git-send-email 1.7.11.2 In-Reply-To: <1344715638-22997-1-git-send-email-yamato@redhat.com> References: <1344715638-22997-1-git-send-email-yamato@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 838 Lines: 27 Declaring netlink protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/