Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5043919imm; Tue, 11 Sep 2018 23:52:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZoxTuofHiNZaWK08JZ4fy5vjaCxiywUI4nNujCEAxFv0E/Mg81dwQh6nJqokGk37/hoiDp X-Received: by 2002:a63:e443:: with SMTP id i3-v6mr466225pgk.381.1536735171919; Tue, 11 Sep 2018 23:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536735171; cv=none; d=google.com; s=arc-20160816; b=z7gvMikTjaSFN42wTXg841h8tMM2bfiXMsYpPeHWP0PORNMqwT0EyDZzo0S4/K4yv9 8LbsF9903/TBx+mYviM1IxUrkSMT3A2eMHDFEPl21Z1kgc5d6VXgryNZJHEX0bBvNXFt 5qorgatYrFY4dXswvJwikbL3Tzn22dRJvv1nrAxqhxR9uXjDPxGRtq+W4Olavv3Xg+HM +F7LAICCN1OdHePzmKcwAm4omQMVEOhNBISTBFxfBULd+MFJ5CqNExWuDN584aETEIwS e7SccFSdAsILw3T+J1kuJ1FBlGLI8eP0ww/thrT7rfzzR7avW5OY986fIwSy056HtHNj 4mRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=a3MKm4gJUhESfjGvShmxcequIkIKXYEN/uvJf1FxHmI=; b=Un3pj9+FwGTt6IBE/v/PT1dpk2oiHAFhrMFv89MUANjaBnUaB0G4FNgflYUZaArtWv 3mp0UlBAQ1BJQ8D/A8kJkIkQwhhRFiE57agb2fCTGD0s7kC0J0VyGNO0BkOegUXCuj0F uX0IKVI3yk8gxilJD8UJhoQg9Szaz78P15mgpRldpfwTmV/XnMd8AMwXdAayzbIwBTOz mDP2qTlNZf87+Iams1PU/efMHXNauvu9WMmeoAVCum6/P5W/kCD2q/vUAIaH87YVazKB rulcvPPOledflQvMHa65JLWRontwLlLhkbG+tdr9tlBO9fxu208E0pjjvCBSuMuxuud7 y38Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3-v6si139270plb.401.2018.09.11.23.52.36; Tue, 11 Sep 2018 23:52:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727150AbeILLzb (ORCPT + 99 others); Wed, 12 Sep 2018 07:55:31 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:57494 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbeILLza (ORCPT ); Wed, 12 Sep 2018 07:55:30 -0400 Received: from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net [74.93.104.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id DFE8112DE57F3; Tue, 11 Sep 2018 23:52:24 -0700 (PDT) Date: Tue, 11 Sep 2018 23:52:24 -0700 (PDT) Message-Id: <20180911.235224.2201624901055776324.davem@davemloft.net> To: yanhaishuang@cmss.chinamobile.com Cc: kuznet@ms2.inr.ac.ru, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, u9012063@gmail.com Subject: Re: [PATCH 1/2] erspan: return PACKET_REJECT when the appropriate tunnel is not found From: David Miller In-Reply-To: <1536589188-27550-1-git-send-email-yanhaishuang@cmss.chinamobile.com> References: <1536589188-27550-1-git-send-email-yanhaishuang@cmss.chinamobile.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 11 Sep 2018 23:52:25 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Haishuang Yan Date: Mon, 10 Sep 2018 22:19:47 +0800 > 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 Applied and queued up for -stable.