diff options
author | James Chapman <jchapman@katalix.com> | 2010-04-02 06:18:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 14:56:04 -0700 |
commit | e0d4435f93905f517003cfa7328a36ea19788147 (patch) | |
tree | cdf858e601d993405d3fd1f318446dddbf9e6fcb /block | |
parent | f7faffa3ff8ef6ae712ef16312b8a2aa7a1c95fe (diff) | |
download | lwn-e0d4435f93905f517003cfa7328a36ea19788147.tar.gz lwn-e0d4435f93905f517003cfa7328a36ea19788147.zip |
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 'block')
0 files changed, 0 insertions, 0 deletions