android_kernel_xiaomi_sm8350/net
James Chapman e0d4435f93 l2tp: Update PPP-over-L2TP driver to work over L2TPv3
This patch makes changes to the L2TP PPP code for L2TPv3.

The existing code has some assumptions about the L2TP header which are
broken by L2TPv3. Also the sockaddr_pppol2tp structure of the original
code is too small to support the increased size of the L2TPv3 tunnel
and session id, so a new sockaddr_pppol2tpv3 structure is needed. In
the socket calls, the size of this structure is used to tell if the
operation is for L2TPv2 or L2TPv3.

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>
2010-04-03 14:56:04 -07:00
..
9p 9p: Change the name of new protocol from 9p2010.L to 9p2000.L 2010-03-13 08:57:29 -06:00
802 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
8021q net: move address list functions to a separate file 2010-04-03 14:22:11 -07:00
appletalk net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
atm atm: Use kasprintf 2010-03-21 18:34:15 -07:00
ax25 net: ax25: use seq_hlist_foo() helpers 2010-02-10 11:12:09 -08:00
bluetooth net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
bridge bridge: cleanup: remove unused assignment 2010-03-21 21:21:58 -07:00
caif net-caif: using kmalloc/kfree requires the include of slab.h 2010-04-01 00:28:49 -07:00
can can: deny filterlist access on non-CAN interfaces 2010-02-02 07:21:34 -08:00
core net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
dcb const: struct nla_policy 2010-02-18 14:30:18 -08:00
dccp net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
decnet net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
dsa net: move address list functions to a separate file 2010-04-03 14:22:11 -07:00
econet net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
ethernet llc: use dev_hard_header 2009-12-26 20:38:23 -08:00
ieee802154 net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
ipv4 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
ipv6 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
ipx net: ipx: use seq_list_foo() helpers 2010-02-10 12:31:10 -08:00
irda net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
iucv const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
key xfrm: SP lookups signature with mark 2010-02-22 16:21:12 -08:00
l2tp l2tp: Update PPP-over-L2TP driver to work over L2TPv3 2010-04-03 14:56:04 -07:00
lapb
llc llc: cleanup: remove dead code from llc_init() 2010-03-24 13:34:08 -07:00
mac80211 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
netfilter netfilter: ctnetlink: fix reliable event delivery if message building fails 2010-03-20 14:29:03 -07:00
netlabel net: remove INIT_RCU_HEAD() usage 2010-02-17 00:03:27 -08:00
netlink netlink: use the appropriate namespace pid 2010-03-26 20:13:58 -07:00
netrom net: netrom: use seq_hlist_foo() helpers 2010-02-10 11:12:08 -08:00
packet net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
phonet phonet: use for_each_set_bit() 2010-03-15 16:00:47 -07:00
rds rds: cleanup: remove unneeded variable 2010-03-24 13:34:09 -07:00
rfkill rename new rfkill sysfs knobs 2010-03-19 15:48:25 -04:00
rose net: rose: use seq_hlist_foo() helpers 2010-02-10 11:12:08 -08:00
rxrpc net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
sched gen_estimator: deadlock fix 2010-04-01 18:38:48 -07:00
sctp sctp: eliminate useless code 2010-03-30 23:58:22 -07:00
sunrpc net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
tipc tipc: define needless global scoped variable static 2010-03-30 23:58:22 -07:00
unix AF_UNIX: update locking comment 2010-02-18 14:12:06 -08:00
wanrouter
wimax wimax: remove unneeded variable 2010-03-24 13:34:09 -07:00
wireless cfg80211: Add connection quality monitoring support to nl80211 2010-03-24 16:02:37 -04:00
x25 net: backlog functions rename 2010-03-05 13:34:03 -08:00
xfrm xfrm: remove policy lock when accessing policy->walk.dead 2010-04-01 19:41:35 -07:00
compat.c net: use compat helper functions in compat_sys_recvmmsg 2009-12-11 15:07:57 -08:00
Kconfig l2tp: Split pppol2tp patch into separate l2tp and ppp parts 2010-04-03 14:56:02 -07:00
Makefile l2tp: Split pppol2tp patch into separate l2tp and ppp parts 2010-04-03 14:56:02 -07:00
nonet.c
socket.c fs: no games with DCACHE_UNHASHED 2009-12-17 10:51:40 -05:00
sysctl_net.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
TUNABLE