]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2079113577e9ce3ad5011353f8dc5a7149ec990
treeed05523913473b6ba7658c6e8d72a1642cce1851
parentb5089c8b5dff81a7910a18dea70e9e3affaed49b
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]