enable automatic module loading for l2tp_ppp
Subsystems (3)
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
@@ -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
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_pppmodule being loaded. Fix this by adding the appropriateMODULE_ALIASto be recognized by pppox'srequest_module()call.Signed-off-by Benjamin LaHaise <[email protected]>
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.