[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <c6919858453711fcfb8202da07b54dae483592c7.1236702228.git.scott@canonical.com>
Date: Mon, 2 Mar 2009 16:44:00 +0000
From: Scott James Remnant <scott@...onical.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 02/31] netlink: Auto-load af_netlink module when socket opened.
The af_netlink module is missing the net-pf-16 alias that would cause it
to be auto-loaded when a socket of that type is opened. This patch adds
the alias.
While we normally build this module in, some users may choose to
reconfigure their kernel with this as a module.
Signed-off-by: Scott James Remnant <scott@...onical.com>
Signed-off-by: Tim Gardner <tim.gardner@...onical.com>
---
net/netlink/af_netlink.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 3ae3cb8..a9d5484 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -2007,3 +2007,5 @@ panic:
}
core_initcall(netlink_proto_init);
+
+MODULE_ALIAS_NETPROTO(PF_NETLINK);
--
1.6.0.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists