Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10004639ybi; Wed, 24 Jul 2019 14:01:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoonNPxcWZXBH0YlfjwZ1HyTiEh/6BwspesHKOpl0zG9dL1Ig5snoxj51c5yIa4NG2XJ/v X-Received: by 2002:a65:6547:: with SMTP id a7mr62299128pgw.65.1564002069499; Wed, 24 Jul 2019 14:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564002069; cv=none; d=google.com; s=arc-20160816; b=Ur+xIuCLHsvQFRsCYUvbFblcsyZyxeAzJQauLsOjYdIsSATQYGviceiQEGnIpdxI6j Q/QL+uPMK+emBf3bv+RZ6mhV0hGV9JgWTF49qq78pDL/XFrqKYN1oW3wj7X+6DvEKjb5 5z1lEP2s0Wyn7jS+/YnLHEw8b6nF6+ew9b6TQda5lpiqCnDu0avZEvx7pQmSSsgr34/7 CoFw6t3P55G30ta2oat+XJ5RNS80wiCS31YZY339u9NMLXt4CkoYkUThuXDBLzdWrvoE XwENGNUvF/NOPfkcaMN1Pcn5Qcg3mI0av/n9bGJWDSqjquitrR0Ek7+UZImhHRu4c/vF wWWw== 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=Q/IVsemTUGyL0ZJ2cqq+MmtCi/CH4YpeUAiTYmiAi50=; b=qEaYd4o4bNyQTHR7dCVkLShXN7h+n8WQx6SSrnwhs8BDw9JbPY+Iq5K6euyM5+c0/K JTiXAyvmKhJaUCXOuFT5W118y9cj8NeyZQXMvy37O2dx+B3HRjEbvKNa+SXat0kxahI+ /sDxHT0NrDdyPSNSY7ZI6mtNefrwAcf0e17h3Vee+nsESngKs2ZzAWDkXDdx/ShpTs/+ e/MqRdmhMkwz1FR2DIKLfqa+IzYrDHUQr/CIT7rrxZ4aXSpu2I3XETNO4ErGKEwgklUD nBaeg78PoKYNTDqcCdzbVJ1uk3M+81BBkEyG4gT0YXK1OyZaJgpa+Sd94SwmMWkX2NUK Q/nA== 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 7si14687110pga.439.2019.07.24.14.00.53; Wed, 24 Jul 2019 14:01:09 -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 S2387745AbfGXVAM (ORCPT + 99 others); Wed, 24 Jul 2019 17:00:12 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:51770 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726591AbfGXVAM (ORCPT ); Wed, 24 Jul 2019 17:00:12 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (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 AF7D0153E8968; Wed, 24 Jul 2019 14:00:11 -0700 (PDT) Date: Wed, 24 Jul 2019 14:00:11 -0700 (PDT) Message-Id: <20190724.140011.1839679169257474219.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] ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6 From: David Miller In-Reply-To: <1563969642-11843-1-git-send-email-yanhaishuang@cmss.chinamobile.com> References: <1563969642-11843-1-git-send-email-yanhaishuang@cmss.chinamobile.com> X-Mailer: Mew version 6.8 on Emacs 26.1 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]); Wed, 24 Jul 2019 14:00:11 -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: Wed, 24 Jul 2019 20:00:42 +0800 > Since ip6_tnl_parse_tlv_enc_lim() can call pskb_may_pull() > which may change skb->data, so we need to re-load ipv6h at > the right place. > > Fixes: 898b29798e36 ("ip6_gre: Refactor ip6gre xmit codes") > Cc: William Tu > Signed-off-by: Haishuang Yan Applied and queued up for -stable, thanks.