| From | Scott James Remnant <> | Date | Mon, 2 Mar 2009 16:44:00 +0000 | 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@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.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
|