mbox series

[ipsec-next,v4,0/2] xfrm: add IPv6 encapsulation support for ESP over UDP and TCP

Message ID cover.1588002010.git.sd@queasysnail.net
Headers show
Series xfrm: add IPv6 encapsulation support for ESP over UDP and TCP | expand

Message

Sabrina Dubroca April 27, 2020, 3:59 p.m. UTC
This series adds IPv6 encapsulation of ESP over both UDP and TCP. In
both cases, the code is very similar to the existing IPv4
encapsulation implementation. The core espintcp code is almost
entirely version-independent.

v2: rebase on top of ipsec-next/master
v3: really rebase this time
v4: fix build warning when !_HAVE_ARCH_IPV6_CSUM

Sabrina Dubroca (2):
  xfrm: add support for UDPv6 encapsulation of ESP
  xfrm: add IPv6 support for espintcp

 include/net/ipv6_stubs.h  |   5 +
 include/net/xfrm.h        |   5 +
 net/ipv4/Kconfig          |   1 +
 net/ipv4/udp.c            |  10 +-
 net/ipv6/Kconfig          |  12 ++
 net/ipv6/af_inet6.c       |   5 +
 net/ipv6/ah6.c            |   1 +
 net/ipv6/esp6.c           | 414 +++++++++++++++++++++++++++++++++++---
 net/ipv6/esp6_offload.c   |   7 +-
 net/ipv6/ip6_vti.c        |  18 +-
 net/ipv6/ipcomp6.c        |   1 +
 net/ipv6/xfrm6_input.c    | 106 +++++++++-
 net/ipv6/xfrm6_protocol.c |  48 +++++
 net/xfrm/Kconfig          |   3 +
 net/xfrm/Makefile         |   2 +-
 net/xfrm/espintcp.c       |  56 +++++-
 net/xfrm/xfrm_interface.c |   3 +
 17 files changed, 647 insertions(+), 50 deletions(-)

Comments

Steffen Klassert April 29, 2020, 7:52 a.m. UTC | #1
On Mon, Apr 27, 2020 at 05:59:33PM +0200, Sabrina Dubroca wrote:
> This series adds IPv6 encapsulation of ESP over both UDP and TCP. In
> both cases, the code is very similar to the existing IPv4
> encapsulation implementation. The core espintcp code is almost
> entirely version-independent.
> 
> v2: rebase on top of ipsec-next/master
> v3: really rebase this time
> v4: fix build warning when !_HAVE_ARCH_IPV6_CSUM
> 
> Sabrina Dubroca (2):
>   xfrm: add support for UDPv6 encapsulation of ESP
>   xfrm: add IPv6 support for espintcp

Applied, thanks a lot Sabrina!