l2tp: Split pppol2tp patch into separate l2tp and ppp parts
authorJames Chapman <jchapman@katalix.com>
Fri, 2 Apr 2010 06:18:33 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:56:02 +0000 (14:56 -0700)
commitfd558d186df2c13a22455373858bae634a4795af
treeed05523913473b6ba7658c6e8d72a1642cce1851
parent21b4aaa14329db793832e865f15000c5c0192ac3
l2tp: Split pppol2tp patch into separate l2tp and ppp parts

This patch splits the pppol2tp driver into separate L2TP and PPP parts
to prepare for L2TPv3 support. In L2TPv3, protocols other than PPP can
be carried, so this split creates a common L2TP core that will handle
the common L2TP bits which protocol support modules such as PPP will
use.

Note that the existing pppol2tp module is split into l2tp_core and
l2tp_ppp by this change.

There are no feature changes here. Internally, however, there are
significant changes, mostly to handle the separation of PPP-specific
data from the L2TP session and to provide hooks in the core for
modules like PPP to access.

Signed-off-by: James Chapman <jchapman@katalix.com>
Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
include/linux/if_pppol2tp.h
net/Kconfig
net/Makefile
net/l2tp/Kconfig [new file with mode: 0644]
net/l2tp/Makefile
net/l2tp/l2tp_core.c [new file with mode: 0644]
net/l2tp/l2tp_core.h [new file with mode: 0644]
net/l2tp/l2tp_ppp.c [new file with mode: 0644]
net/l2tp/pppol2tp.c [deleted file]