Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2062860ybh; Sun, 15 Mar 2020 18:13:33 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsfjeOgGdNHj5iJ2HvG1QLLoTEZiZAekdtbzMj0AowdaK6w6LsGMIvkM+FekQdKZdqzyH3Y X-Received: by 2002:a9d:7a9:: with SMTP id 38mr182162oto.60.1584321212954; Sun, 15 Mar 2020 18:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584321212; cv=none; d=google.com; s=arc-20160816; b=jnhdcJ4BR8N32xvfHDpOGhUknzOef+QtfSxU+7AWwyEzhQT3NaNyR4kRDi/q4UuWdj CtIUTzKSiFotaef0nue1LX3HVP1mP6TveEwnK7K6p5UJ1RakFLkek6AfbDAthnZu4WvM t/UDFoBvHVkITOPQlRXCePQFo3+RKW6JBYDXRhLyeK4IBspR2BlSAd80pqD1qBF9mLuo +3m0TVVy71kuuHpZef5K+GB2rRgFq1IXn09ZjOzsLKVQ5rVWRFXrt0j/uJVvN4NntJXz ijJplQJn3tyjTRYAVw6ozk0U/BuZrmdGyoUP4OVAUdCe2KiL4binwZIAP+sVIKGZwW/0 MiUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=3w/fFK0MDWUM93CNxXonSwU6y2lBeuD6hy/juEaIDmo=; b=z6wTctCgygM3A9DHJi3bgkzMmEANzWfix0kx1vdrv6Zz8IF9+L9nzAjmZNsnI+tnQx 3Or84fCJFai11cxwBYgeHcxg0wjQ35vnMRuCRiJSRI62nQswXxrKmU0FueuJAuiVxax8 IZgQ/OqTou0qdVBcQSynTEj79l2xWhuEN/ATzE3dKTw4YHOMtA9H7j5e6QZsLu5nWxUf yF7bvTogWE8Ge8x1yMPgZPSe8M/5uK49YcTk4Oa3bVDmBZ50CrzWxc3lawAuI4iNjH7L c/mwbEwvYNxLLWh/yVT1iVZ8QaJso4id5J7gPJnup2ZvSjkhYHKMwndWu4f+tdtFsJx0 /ebA== 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 o63si5771609oih.74.2020.03.15.18.13.20; Sun, 15 Mar 2020 18:13:32 -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 S1729391AbgCPBM4 convert rfc822-to-8bit (ORCPT + 99 others); Sun, 15 Mar 2020 21:12:56 -0400 Received: from cmccmta1.chinamobile.com ([221.176.66.79]:2489 "EHLO cmccmta1.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729300AbgCPBM4 (ORCPT ); Sun, 15 Mar 2020 21:12:56 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.7]) by rmmx-syy-dmz-app01-12001 (RichMail) with SMTP id 2ee15e6ed27523a-d0e54; Mon, 16 Mar 2020 09:12:22 +0800 (CST) X-RM-TRANSID: 2ee15e6ed27523a-d0e54 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from [172.20.146.62] (unknown[112.25.154.146]) by rmsmtp-syy-appsvr04-12004 (RichMail) with SMTP id 2ee45e6ed26fa05-5e508; Mon, 16 Mar 2020 09:12:17 +0800 (CST) X-RM-TRANSID: 2ee45e6ed26fa05-5e508 Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [PATCH 1/4] netfilter: nf_flow_table: reload ipv6h in nf_flow_nat_ipv6 From: Haishuang Yan In-Reply-To: <20200315204435.25kji3x5me72xjgg@salvia> Date: Mon, 16 Mar 2020 09:12:15 +0800 Cc: Jozsef Kadlecsik , Florian Westphal , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: <1584281705-26228-1-git-send-email-yanhaishuang@cmss.chinamobile.com> <20200315204435.25kji3x5me72xjgg@salvia> To: Pablo Neira Ayuso X-Mailer: Apple Mail (2.3273) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 2020??3??16??, at ????4:44, Pablo Neira Ayuso wrote: > > On Sun, Mar 15, 2020 at 10:15:02PM +0800, Haishuang Yan wrote: >> Since nf_flow_snat_port and nf_flow_snat_ipv6 call pskb_may_pull() >> which may change skb->data, so we need to reload ipv6h at the right >> palce. > > Could you collapse patch 1/4 and 2/4 ? > > Same thing with patches 3/4 and 4/4 ? > > Thanks. > Okay, I will collapse the patches. Thanks.