Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp135704ybi; Sat, 29 Jun 2019 07:14:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzW4pJVFhn5d552/D43BhxWCVTRT57zsfisBawlheG3LGvr6VsMJrjUw/zx5aoR3tDc5I/8 X-Received: by 2002:a63:34c3:: with SMTP id b186mr14668212pga.294.1561817662216; Sat, 29 Jun 2019 07:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561817662; cv=none; d=google.com; s=arc-20160816; b=yr0uq9aDVKhhL48Gzfcz91/g6nqRFGi9qoNPux9ZaLhbdgx+KLMGHAOptO1L6avo2a c62epkAOc6nT6ixseJSnWUDnIjIP0feL2scpJ3Nq4UEZVATRMpUidv+5evYBq0vMMVQ1 eraI3BY92h2p4lGhdPYBzXq0py8JOO1EXzTfKlmxqnr3zzeqbgJxX070odyc85rUOxlp SKlBR0yDM91pOot0Ho1DM47QtINr7EeuAKmCXqUoBT7qaHwIpOjQgbhMgv0CsSApbuoS 4oPFhPa/mIHFRak7MRfKsO/HAl6GgZdqNMXN7Vot86eu8bvKjC9bsfZmBGmIi6ZtG2aZ PYQA== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=tXMMB+87SiZp0tc3RdqagurgB4ibUH+fNd6bKA8lSOk=; b=dvYE2o1Y4YHbKYzPrJrGDn79YXeecUpoPdQl6gMYr2fHZ4pTdVnieOdGUwT8r9uqd0 NXRMdMqaX8vll699x+qb1I0X9f1THHBaEzSCtZqmksxoSWYazH9WBEV9Aa/dzY4La8xr LHUvBNI8VEb2t/5DUX2fexvqeQ1jUDFXVNeYSYmoYfg8eLOFs2qOaLuiD9Dla07q9fmG /xirWmZ5Yv9sYHUhM2evEBY8yTyCtXyjAumNnSrnJ8066zXlZZVLYG57E7NBJxBMBWeD tH3uBDMV5+nuOXlUJuj4DKnyNWpZjfA6qIUkvIRuNXUm6XKXxUyTnwoX029kaaQnbDKy /ENQ== 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 cj11si5052030plb.373.2019.06.29.07.14.05; Sat, 29 Jun 2019 07:14:22 -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 S1726873AbfF2OOC (ORCPT + 99 others); Sat, 29 Jun 2019 10:14:02 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3016 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726770AbfF2OOC (ORCPT ); Sat, 29 Jun 2019 10:14:02 -0400 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id EBD3F63A0F28E98C15C6; Sat, 29 Jun 2019 22:13:59 +0800 (CST) Received: from dggeme766-chm.china.huawei.com (10.3.19.112) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 29 Jun 2019 22:13:59 +0800 Received: from dggeme763-chm.china.huawei.com (10.3.19.109) by dggeme766-chm.china.huawei.com (10.3.19.112) 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 22:13:59 +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 22:13:59 +0800 From: linmiaohe To: David Ahern , "pablo@netfilter.org" CC: "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: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjRdIG5ldDogbmV0ZmlsdGVyOiBGaXggcnBmaWx0?= =?utf-8?Q?er_dropping_vrf_packets_by_mistake?= Thread-Topic: [PATCH v4] net: netfilter: Fix rpfilter dropping vrf packets by mistake Thread-Index: AdUuGy8DDB3uB4ksWUWckzFOhXp+DAAFqTYAABSVBMA= Date: Sat, 29 Jun 2019 14:13:59 +0000 Message-ID: References: <2213b3e722a14ee48768ecc7118efc46@huawei.com> <08740476-acfb-d35a-50b7-3aee42f23bfa@gmail.com> In-Reply-To: <08740476-acfb-d35a-50b7-3aee42f23bfa@gmail.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 T24gNi8yOS8xOSAyMDoyMCBQTSwgRGF2aWQgQWhlcm4gd3JvdGU6DQo+IE9uIDYvMjgvMTkgODox MyBQTSwgbGlubWlhb2hlIHdyb3RlOg0KPiA+IFlvdSdyZSByaWdodC4gRmliIHJ1bGVzIGNvZGUg d291bGQgc2V0IEZMT1dJX0ZMQUdfU0tJUF9OSF9PSUYgZmxhZy4gIA0KPiA+IEJ1dCBJIHNldCBp dCBoZX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