]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: auto load type modules
authorstephen hemminger <stephen@networkplumber.org>
Thu, 24 Sep 2015 04:33:34 +0000 (21:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 19:27:22 +0000 (12:27 -0700)
commit5c1e55b536f7e362723e189f0996fc5a4c8b2c81
tree5b5acaad2c0b996f0fa516f65b1c43c80da0cce7
parente403158e453745f1b00cff0d7312a19e912abc7d
l2tp: auto load type modules

It should not be necessary to do explicit module loading when
configuring L2TP. Modules should be loaded as needed instead
(as is done already with netlink and other tunnel types).

This patch adds a new module alias type and code to load
the sub module on demand.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.h
net/l2tp/l2tp_eth.c
net/l2tp/l2tp_netlink.c
net/l2tp/l2tp_ppp.c