[PATCH 03/31] wanrouter: Auto-load wanrouter module when socket opened.

From: Scott James Remnant
Date: Tue Mar 10 2009 - 12:44:52 EST


The wanrouter module is missing the net-pf-25 alias that would cause it
to be auto-loaded when a socket of that type is opened. This patch adds
the alias.

Signed-off-by: Scott James Remnant <scott@xxxxxxxxxxxxx>
Signed-off-by: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
---
net/wanrouter/wanmain.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/wanrouter/wanmain.c b/net/wanrouter/wanmain.c
index 39701de..b1eaa63 100644
--- a/net/wanrouter/wanmain.c
+++ b/net/wanrouter/wanmain.c
@@ -777,6 +777,7 @@ EXPORT_SYMBOL(register_wan_device);
EXPORT_SYMBOL(unregister_wan_device);

MODULE_LICENSE("GPL");
+MODULE_ALIAS_NETPROTO(PF_WANPIPE);

/*
* End
--
1.6.0.5

--
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/