mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
pppox: use standard module auto-loading feature
* Register PF_PPPOX with pppox module rather than with pppoe,
so that pppoe doesn't get loaded for any PF_PPPOX socket.
* Register PX_PROTO_* with standard MODULE_ALIAS_NET_PF_PROTO()
instead of using pppox's own naming scheme.
* While there, add auto-loading feature for pptp.
Signed-off-by: Guillaume Nault <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c402293bd7
commit
681b4d88ad
4 changed files with 5 additions and 3 deletions
|
|
@ -1862,5 +1862,5 @@ 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));
|
||||
MODULE_ALIAS_NET_PF_PROTO(PF_PPPOX, PX_PROTO_OL2TP);
|
||||
MODULE_ALIAS_L2TP_PWTYPE(11);
|
||||
|
|
|
|||
Loading…
Reference in a new issue