summaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_ppp.c
diff options
context:
space:
mode:
authorBenjamin LaHaise <bcrl@kvack.org>2012-03-20 14:01:21 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-21 22:14:56 -0400
commit9395a09d05a23bb313cd20c99fb234f308d948b3 (patch)
treec0850e712e9b93eef264712a9868b150d15e70ce /net/l2tp/l2tp_ppp.c
parent8ec3e70207486bbd3e2d3c0d6b809116ccd4f219 (diff)
downloadop-kernel-dev-9395a09d05a23bb313cd20c99fb234f308d948b3.zip
op-kernel-dev-9395a09d05a23bb313cd20c99fb234f308d948b3.tar.gz
l2tp: enable automatic module loading for l2tp_ppp
When L2TP is configured as a module, requests for L2TP sockets do not result in the l2tp_ppp module being loaded. Fix this by adding the appropriate MODULE_ALIAS to be recognized by pppox's request_module() call. Signed-off-by: Benjamin LaHaise <bcrl@kvack.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_ppp.c')
-rw-r--r--net/l2tp/l2tp_ppp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/l2tp/l2tp_ppp.c b/net/l2tp/l2tp_ppp.c
index 9b07191..1addd9f 100644
--- a/net/l2tp/l2tp_ppp.c
+++ b/net/l2tp/l2tp_ppp.c
@@ -1845,3 +1845,4 @@ MODULE_AUTHOR("James Chapman <jchapman@katalix.com>");
MODULE_DESCRIPTION("PPP over L2TP over UDP");
MODULE_LICENSE("GPL");
MODULE_VERSION(PPPOL2TP_DRV_VERSION);
+MODULE_ALIAS("pppox-proto-" __stringify(PX_PROTO_OL2TP));
OpenPOWER on IntegriCloud