]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ecc1f0da88f04b3d1193eeee9e14b8e1fbda34b
tree9f98e9903e34b9a583fa5f8ff03551c77d194c43
parent1007a7d5783e1b9f0dce1ebb9f807749bf413680
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