From patchwork Thu Nov 30 19:26:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 843159 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="vZWziE8s"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3ynnSy57mXz9sNw for ; Fri, 1 Dec 2017 06:26:26 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751596AbdK3T0Y (ORCPT ); Thu, 30 Nov 2017 14:26:24 -0500 Received: from mail-pl0-f65.google.com ([209.85.160.65]:47037 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbdK3T0W (ORCPT ); Thu, 30 Nov 2017 14:26:22 -0500 Received: by mail-pl0-f65.google.com with SMTP id i6so4821010plt.13 for ; Thu, 30 Nov 2017 11:26:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=AmJP4EKjspFAHMmWulgSsd6Qyjhrxl+ZN/JDzF+qvhE=; b=vZWziE8snPS3f3cwPjDrKDrlgMeGtC70//1r4pNuq3dbSghIB8AIkPWp431ifdpRwS Hhe5eHmexFh+ej8PsM7FZnvOOtS+EQvyi0CW6v33CGTGEPeQNpxWLZAO2UeikztJEPFY 0iOg63u+LURrVhnoN8GaNMFg3Rj9aQPQw8j+E66pXrazb4OtvgG0sO1enMCNhbzh8S/d VyLRd5Ez691dRb3yu8wjAiNmXnDUtRKWuheKsurtfPFuvy+PGwtxKyeWNLpv1isiufot Y4rRwqPgeY0DAMKYU/c2cvzghWryQ3zuOkoiPXv5HhTFFu8/CSmoepzMRMgWvG5Obl2R bkMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=AmJP4EKjspFAHMmWulgSsd6Qyjhrxl+ZN/JDzF+qvhE=; b=cCc5CKldIdwXLIj98m6giONZeMfren7RYPCp2edS0z5tKP5853Kx4m3jEWfNj4p2dt WDf79fjSAdpK0oavSLw5G1kTT2J8UQ09sBY5kjsI4TtG8CEhw4JDTxatquBExhblJC1X YnV1Pixb1EDDLgMvaX/uPPCJbogmbUl6LKSPV999imMILbuMFh7lQ6Ass59bzU0Gmzdq SRIkRKS9kj3TDX/8z8dO+6mGhjv0XUGhmegdPgqJ/aMgSwT3IQzDsBRQrFk1aUqasjcy iRCZe7Lr8A6HCPEDygh8Fn0UAFJUlvyeRP5kiD92UE1wDJ2hkM9qEY5+e/KuhBBj8BYY ZaFw== X-Gm-Message-State: AJaThX6BHUOsxvTwtjGL1yrJtMms4jhykJaQDybV9NxkZqg/HEm6IGZ1 M/dftWJfZusKpP/ugv5y9bKM8b9q X-Google-Smtp-Source: AGs4zMbsF8/MYITM4lx4huI+9i1pipMo83rFBQOR2ZACUfpJsr1EcLD8YXasnZaQjgDvtLrDPsjDxw== X-Received: by 10.159.207.138 with SMTP id z10mr3707093plo.259.1512069982127; Thu, 30 Nov 2017 11:26:22 -0800 (PST) Received: from sc9-mailhost2.vmware.com ([24.5.191.4]) by smtp.gmail.com with ESMTPSA id g9sm9034180pfk.0.2017.11.30.11.26.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 11:26:21 -0800 (PST) From: William Tu To: netdev@vger.kernel.org Subject: [PATCH v4 net-next 0/3] Date: Thu, 30 Nov 2017 11:26:07 -0800 Message-Id: <1512069970-4571-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org change in v4: - rebase on top of net-next - use log_ecn_error in ip6_tnl_rcv change in v3: - add inline for functions in header - rebase on top of net-next change in v2: - remove inline - fix some indent - fix errors reports by clang and scan-build William Tu (3): ip_gre: Refector the erpsan tunnel code. ip6_gre: Refactor ip6gre xmit codes ip6_gre: Add ERSPAN native tunnel support include/net/erspan.h | 51 ++++++ include/net/ip6_tunnel.h | 1 + net/ipv4/ip_gre.c | 54 +------ net/ipv6/ip6_gre.c | 393 ++++++++++++++++++++++++++++++++++++++++------- 4 files changed, 398 insertions(+), 101 deletions(-)