Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp260697ybd; Fri, 28 Jun 2019 19:13:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyB+tdJjWZwry34oKonug5FsllVN0Ja+/vxin8sVAQ+4o58beFNaqVC7apTP51zujLTi7C/ X-Received: by 2002:a17:902:722:: with SMTP id 31mr14971296pli.163.1561774413406; Fri, 28 Jun 2019 19:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561774413; cv=none; d=google.com; s=arc-20160816; b=pH70nlV6GAN9eTx5QnlO6PTWOi4XlL7H23IF7pAY0m/QKX9b+x/0+zxsDUtAKHUmwv dhF7c/1NpctUGp3LxT++NU3TbJoqFe3i4SVteRC7UXvVEFufiLO723kqRHCl/u9s0rFv zK5L+RUm8iSoSMqLoqB/er2SWQ5SX9z3OjwHkkheTelQxF2PK3A/ZQ9dG0cILHHmdWN2 2OF2scsC0T8bt/w0Q/sUpNLYPogySFF9DKNGId88+YBZt9JUCISx7l11wmUyVnpjr2bG tQtC/wbrphkHd0gWUopcVzUu/AJri1KEQHQSGAUInuIgfjSMNJqGutdFN9LW+C1lev20 3Q+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=Y8SO+D8cx6tbdL3oqVIMdRyFk/5Tg3oc6BZKtPGC3NY=; b=FfnNT7iVgJsha2hlBiiyBXeiaSziaRTdxOrBXJKRw069ygl0fFLNoE4tc+VViXl/hF vOWhGVMW/Jv8fC3kzcyAinjH5xn0PJEv9LFUG/1Q7ThiuPlzvvXuDtl2CLxS6Il1ABVk PDbMemsrQZTPdwWgdqK83CTjTQXDqIaQedtq6PPEI+QCgT1mlClPqRTXq/lddFnN8MrE uIzOnoJa3y04PMm0nxzZmb82o9asz3nesS3oiJ9hNoFqcXGBpLFJnO1At9agquCZp5g7 gy/XNN1yzZRZ9g4c3TG8EqBG/ilrA9fayZi0+1GgOSlwdEd5YysCj3u0vp2oIuUMAZ30 lmQg== 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 q2si3862602plh.59.2019.06.28.19.13.17; Fri, 28 Jun 2019 19:13:33 -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 S1727002AbfF2CNL (ORCPT + 99 others); Fri, 28 Jun 2019 22:13:11 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2959 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726682AbfF2CNL (ORCPT ); Fri, 28 Jun 2019 22:13:11 -0400 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 009771E16AABD9844CA4; Sat, 29 Jun 2019 10:13:07 +0800 (CST) Received: from dggeme714-chm.china.huawei.com (10.1.199.110) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 29 Jun 2019 10:13:06 +0800 Received: from dggeme763-chm.china.huawei.com (10.3.19.109) by dggeme714-chm.china.huawei.com (10.1.199.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Sat, 29 Jun 2019 10:13:06 +0800 Received: from dggeme763-chm.china.huawei.com ([10.6.66.36]) by dggeme763-chm.china.huawei.com ([10.6.66.36]) with mapi id 15.01.1591.008; Sat, 29 Jun 2019 10:13:06 +0800 From: linmiaohe To: David Ahern CC: "pablo@netfilter.org" , "kadlec@blackhole.kfki.hu" , "fw@strlen.de" , "davem@davemloft.net" , "kuznet@ms2.inr.ac.ru" , "yoshfuji@linux-ipv6.org" , "netfilter-devel@vger.kernel.org" , "coreteam@netfilter.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Mingfangsen Subject: Re: [PATCH v4] net: netfilter: Fix rpfilter dropping vrf packets by mistake Thread-Topic: [PATCH v4] net: netfilter: Fix rpfilter dropping vrf packets by mistake Thread-Index: AdUuGy8DDB3uB4ksWUWckzFOhXp+DA== Date: Sat, 29 Jun 2019 02:13:06 +0000 Message-ID: <2213b3e722a14ee48768ecc7118efc46@huawei.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.184.189.20] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNi8yOS8xOSAxOjA1IEFNLCBEYXZpZCBBaGVybiB3cm90ZToNCj4gT24gNi8yOC8xOSAzOjA2 IEFNLCBNaWFvaGUgTGluIHdyb3RlOg0KPiA+IGRpZmYgLS1naXQgYS9uZXQvaXB2Ni9uZXRmaWx0 ZXIvaXA2dF9ycGZpbHRlci5jIA0KPiA+IGIvbmV0L2lwdjYvbmV0ZmlsdGVyL2lwNnRfcnBmaWx0 ZXIuYw0KPiA+IGluZGV4IDZiY2FmNzM1NzE4My4uM2M0YTE3NzJjMTVmIDEwMDY0NA0KPiA+IC0t LSBhL25ldC9pcHY2L25ldGZpbHRlci9pcDZ0X3JwZmlsdGVyLmMNCj4gPiArKysgYi9uZXQvaXB2 Ni9uZXRmaWx0ZXI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