From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70E5BC54FD0 for ; Mon, 27 Apr 2020 16:00:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4DE69206BF for ; Mon, 27 Apr 2020 16:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728497AbgD0QAY convert rfc822-to-8bit (ORCPT ); Mon, 27 Apr 2020 12:00:24 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:22144 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728482AbgD0QAX (ORCPT ); Mon, 27 Apr 2020 12:00:23 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-61-0QGfAOK9O-uFcrSM8JvWAA-1; Mon, 27 Apr 2020 12:00:10 -0400 X-MC-Unique: 0QGfAOK9O-uFcrSM8JvWAA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0F11981E22C; Mon, 27 Apr 2020 15:59:54 +0000 (UTC) Received: from hog.localdomain, (unknown [10.40.195.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id E01C210013D9; Mon, 27 Apr 2020 15:59:52 +0000 (UTC) From: Sabrina Dubroca To: netdev@vger.kernel.org Cc: Steffen Klassert , Sabrina Dubroca Subject: [PATCH ipsec-next v4 0/2] xfrm: add IPv6 encapsulation support for ESP over UDP and TCP Date: Mon, 27 Apr 2020 17:59:33 +0200 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: queasysnail.net Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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(-) -- 2.26.2