l2tp: auto load IP modules
authorstephen hemminger <stephen@networkplumber.org>
Thu, 24 Sep 2015 04:33:35 +0000 (21:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 19:27:22 +0000 (12:27 -0700)
commit163c2e252fa658ac26edda78d2a9e3939f7d10e5
treeabe9cb2fcdd4b7286c43f3425676ea00ac4556d3
parentf1f39f91102733bcde2462c6a138f636ee541ea8
l2tp: auto load IP modules

When creating a IP encapsulated tunnel the necessary l2tp module
should be loaded. It already works for UDP encapsulation, it just
doesn't work for direct IP encap.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ip.c
net/l2tp/l2tp_ip6.c