diff options
author | James Chapman <jchapman@katalix.com> | 2010-04-02 06:18:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 14:56:02 -0700 |
commit | fd558d186df2c13a22455373858bae634a4795af (patch) | |
tree | ed05523913473b6ba7658c6e8d72a1642cce1851 /net/l2tp/Makefile | |
parent | 21b4aaa14329db793832e865f15000c5c0192ac3 (diff) | |
download | linux-fd558d186df2c13a22455373858bae634a4795af.tar.gz linux-fd558d186df2c13a22455373858bae634a4795af.tar.bz2 linux-fd558d186df2c13a22455373858bae634a4795af.zip |
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>
Diffstat (limited to 'net/l2tp/Makefile')
-rw-r--r-- | net/l2tp/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/l2tp/Makefile b/net/l2tp/Makefile index 9af41e898a04..c91f208b1693 100644 --- a/net/l2tp/Makefile +++ b/net/l2tp/Makefile @@ -2,4 +2,7 @@ # Makefile for the L2TP. # -obj-$(CONFIG_PPPOL2TP) += pppol2tp.o +obj-$(CONFIG_L2TP) += l2tp_core.o + +# Build l2tp as modules if L2TP is M +obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o |