]> git.baikalelectronics.ru Git - kernel.git/commit
pppox: use standard module auto-loading feature
authorGuillaume Nault <g.nault@alphalink.fr>
Wed, 2 Dec 2015 15:27:39 +0000 (16:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 20:12:54 +0000 (15:12 -0500)
commit9bb0c760ebf7455c9869269351db07c3b959b3da
tree2cc08a0d7bccfc1d22ddd1f947a6147581db6612
parent864879ae8edbf0b28a1ebe50dce42031742da0f5
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 <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/pppoe.c
drivers/net/ppp/pppox.c
drivers/net/ppp/pptp.c
net/l2tp/l2tp_ppp.c