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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Benjamin LaHaise 2012-03-20 14:01:21 +00:00 • committed by David S. Miller
commit 9395a09d05

View file

@ -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));