Skip to contentSkip to conversation

enable automatic module loading for l2tp_ppp

PATCH Applied Benjamin LaHaise 2 participants 2 messages Mar 21, 2012 – Mar 22, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 net/l2tp/l2tp_ppp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/l2tp/l2tp_ppp.c +1 -0
index 9b07191..1addd9f 100644
@@ -1845,3 +1845,4 @@ MODULE_AUTHOR("James Chapman <[email protected]>");
 MODULE_DESCRIPTION("PPP over L2TP over UDP");
 MODULE_LICENSE("GPL");
 MODULE_VERSION(PPPOL2TP_DRV_VERSION);
+MODULE_ALIAS("pppox-proto-" __stringify(PX_PROTO_OL2TP));
Signature · 1 line
1.7.4.1
maintainer Applied
#1 lore raw

From: Benjamin LaHaise <[email protected]>
Date: Tue, 20 Mar 2012 20:01:21 -0400

Quoted 5 lines

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.

Please start adding proper subsystem/driver prefixes to your Subject lines when submitting patches, I'm getting tired of continually having to add them for you. For this patch "l2tp: " would have been appropriate.

Applied, thanks.