Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754161AbdLNS0I (ORCPT ); Thu, 14 Dec 2017 13:26:08 -0500 Received: from mail-it0-f53.google.com ([209.85.214.53]:41831 "EHLO mail-it0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753742AbdLNS0G (ORCPT ); Thu, 14 Dec 2017 13:26:06 -0500 X-Google-Smtp-Source: ACJfBovc+03UbwZ4b8pkeKvVICdH95dwowpAEtdrOOm+/WWSpg2e/qDIUC7oSuG63s6RGaO57cTMmeWj+0gnRgdz2NE= MIME-Version: 1.0 In-Reply-To: <1513267513-11562-1-git-send-email-yanhaishuang@cmss.chinamobile.com> References: <1513267513-11562-1-git-send-email-yanhaishuang@cmss.chinamobile.com> From: William Tu Date: Thu, 14 Dec 2017 10:25:25 -0800 Message-ID: Subject: Re: [PATCH 1/2] ip_gre: fix error path when erspan_rcv failed To: Haishuang Yan Cc: "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , linux-kernel@vger.kernel.org, Linux Kernel Network Developers Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 497 Lines: 13 On Thu, Dec 14, 2017 at 8:05 AM, Haishuang Yan wrote: > When erspan_rcv call return PACKET_REJECT, we shoudn't call ipgre_rcv to > process packets again, instead send icmp unreachable message in error > path. > > Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") > Cc: William Tu > Signed-off-by: Haishuang Yan > --- Thanks for the patch. Acked-by: William Tu