aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_core.c
diff options
context:
space:
mode:
authorJames Chapman <jchapman@katalix.com>2010-04-02 06:18:54 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-03 14:56:04 -0700
commite0d4435f93905f517003cfa7328a36ea19788147 (patch)
treecdf858e601d993405d3fd1f318446dddbf9e6fcb /net/l2tp/l2tp_core.c
parentf7faffa3ff8ef6ae712ef16312b8a2aa7a1c95fe (diff)
downloadkernel_samsung_smdk4412-e0d4435f93905f517003cfa7328a36ea19788147.zip
kernel_samsung_smdk4412-e0d4435f93905f517003cfa7328a36ea19788147.tar.gz
kernel_samsung_smdk4412-e0d4435f93905f517003cfa7328a36ea19788147.tar.bz2
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>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
0 files changed, 0 insertions, 0 deletions