Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2963078imm; Mon, 10 Sep 2018 08:56:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZO1dAbRXlUip7Kur9dPqErB8IAmz1/1s2zpJBNIDbsiCn7F0aUaaS3qa9UJppIwxS3n1mN X-Received: by 2002:a63:1566:: with SMTP id 38-v6mr21672305pgv.383.1536594996909; Mon, 10 Sep 2018 08:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536594996; cv=none; d=google.com; s=arc-20160816; b=LaJ5/kCjw+g2496JtkmQXHMRzzyPwWGNoCy2FuSWkQMtOzC9HyvRD/MVSQv6hubisr 4hGL6nC2fgdVrlueOhHP32MsqRxOsAmekfFa760FOUKdDSQGth2sGyBAoTjg8wvZdPLl CD3L7RZNyGygkXnFZ0+IGt0pBeZGiwVGvmtxO5/7b8/23/MdLQnPqAz1E1WIdFUrTWRZ 04ffelYqmq8kjlh10b/ySIJ0vZlIh24vXJOz22GBZD8hl7+XGC1/wWjstkpCS7awcvOb nse80Ip05tHgTxG/srFId9P/sbQ5aVaTaLlyh0G5hLCpcGHof33swm68l0XTanFhPVqz ejlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZakQeuBzupj7UAlHM/DcMfOMZy+D+ZvqSxrS04edCrs=; b=ksIC4akQPA5ey6t4tR2VjcOqMgyYhQIG3oyGlLdUKCZEIQ4zv7oXXa8xEGwPiQxDfv QknJfydBtbufVw9aUATBVuYT9KSAkZoZeuzmnbcdCuS/L/rXIZN1NDsdOmGHeOZURloc RIx/D1QR9ey718RxhfuVk/5NliXCoH5P6xlu0CtM/SxQIxRgC4DJ1p5VOcb2tGn7cq11 5gRkKejtfjyPJpYUycgfk6I4vjtKwZK6myu/GV4mqHdyqOp5q6CA1GAHQ3JSjhAiJ//f OlUnQdDwX7lxp4JTLaVJAs+XmtjdY0fTKXsem7D3TO65aNJRhho8gRug6gYPZQW3+RJo Cx5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mVnF82b4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15-v6si14516478pls.211.2018.09.10.08.56.21; Mon, 10 Sep 2018 08:56:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mVnF82b4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728609AbeIJUs6 (ORCPT + 99 others); Mon, 10 Sep 2018 16:48:58 -0400 Received: from mail-qt0-f176.google.com ([209.85.216.176]:39952 "EHLO mail-qt0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727411AbeIJUs6 (ORCPT ); Mon, 10 Sep 2018 16:48:58 -0400 Received: by mail-qt0-f176.google.com with SMTP id h4-v6so24718138qtj.7; Mon, 10 Sep 2018 08:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZakQeuBzupj7UAlHM/DcMfOMZy+D+ZvqSxrS04edCrs=; b=mVnF82b4ZY9aWewJljoNGhnqWWv82H1vvdYo+QOc77PwTVrBgGdXVYlWj5wvBDgkGZ U2uLJbhsUypuEcEG5KJt2dL+d2Lh8nfjYYWtFSLsUcw+niNDhF01Kl1ipHAzfVLM9ZwA SsenYaHhdCTuRn8GmQL7eEhFDaY41gWd28JQ85m98dGtQ2KY8+o5nu3iJcQV6ZUqJr1h ek8owwR1qNQLD7f4oQNfdTJ/5tsvL4HfAkBPDXV28WagTAr4coaeGt9HZCqbGTPHqwdc Mytf30Qx2gKgNjTaXqdaZfpfk6rgqi6L5DkobELyOmxsdKJnuPhGI0WOparieY0uSdTa oBdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZakQeuBzupj7UAlHM/DcMfOMZy+D+ZvqSxrS04edCrs=; b=QTQOWO2SaY7LxjHIG7sygqx8mXE4Yf7ej4Efqq1pGdW8qV8GbaWJWw93FVa/IoJS9X 506ABNMZJN7mTwL/FjOvy6g3ZHO+Me+MsWwlKu6yLPdbTJALA6MV/KYF8dE6DzFNRn8Y Xd9f6YtS3pk0FflTmMoCJU0qpbWrLgi1v3TfsXV5kVe4RXNi+avJhSsyx5Qr60bPBcUp G+SkFi7eX1Rhj1PAzDogqcNhmJyE/nF7mYE+ZDZBjFi31OxUwMSQm9V32ZlSqS2Kk5KY 2u3WCZdI7ptVAL6kZAyRq87QCbvvyqQO5Qmlg+o7bgwMvhZ4brrNgDRl6yN/yk5DMusG Jw9g== X-Gm-Message-State: APzg51CoZ2OKTTxBQ65YOX88dweR0gQExM5MoU3LL15t0lWxvFuzIWmj tJFvmYlPVfc8EoBFiZxO9EA5wwMpFJWq3GxD45g= X-Received: by 2002:a0c:b0c7:: with SMTP id p7-v6mr15037114qvc.210.1536594854164; Mon, 10 Sep 2018 08:54:14 -0700 (PDT) MIME-Version: 1.0 References: <1536589188-27550-1-git-send-email-yanhaishuang@cmss.chinamobile.com> In-Reply-To: <1536589188-27550-1-git-send-email-yanhaishuang@cmss.chinamobile.com> From: William Tu Date: Mon, 10 Sep 2018 08:53:31 -0700 Message-ID: Subject: Re: [PATCH 1/2] erspan: return PACKET_REJECT when the appropriate tunnel is not found To: Haishuang Yan Cc: David Miller , Alexey Kuznetsov , Linux Kernel Network Developers , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 7:20 AM Haishuang Yan wrote: > > If erspan tunnel hasn't been established, we'd better send icmp port > unreachable message after receive erspan packets. > > Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") > Cc: William Tu > Signed-off-by: Haishuang Yan > --- LGTM. Acked-by: William Tu