Skip to content

Commit

Permalink
l2tp: enable automatic module loading for l2tp_ppp
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bcrl authored and davem330 committed Mar 22, 2012
1 parent 8ec3e70 commit 9395a09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/l2tp/l2tp_ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

0 comments on commit 9395a09

Please sign in to comment.