l2tp: Add support for static unmanaged L2TPv3 tunnels
authorJames Chapman <jchapman@katalix.com>
Fri, 2 Apr 2010 06:19:40 +0000 (06:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:56:08 +0000 (14:56 -0700)
commit789a4a2c61d843df67988d69e7c3f3a4bca97e8e
tree9f98e9903e34b9a583fa5f8ff03551c77d194c43
parent0ad6614048cf722e4d27909665b4846805357f1b
l2tp: Add support for static unmanaged L2TPv3 tunnels

This patch adds support for static (unmanaged) L2TPv3 tunnels, where
the tunnel socket is created by the kernel rather than being created
by userspace. This means L2TP tunnels and sessions can be created
manually, without needing an L2TP control protocol implemented in
userspace. This might be useful where the user wants a simple ethernet
over IP tunnel.

A patch to iproute2 adds a new command set under "ip l2tp" to make use
of this feature. This will be submitted separately.

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>
net/l2tp/l2tp_core.c
net/l2tp/l2tp_core.h
net/l2tp/l2tp_netlink.c