Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3940443ybc; Thu, 14 Nov 2019 17:46:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzlYj//Fz0ulv6LH7jZPYNG6rA5yTJvnsMQTui/0itEfwlOpFMZ2y0iiCIRAL7LGxQv/0be X-Received: by 2002:a17:906:1505:: with SMTP id b5mr10028399ejd.195.1573782405214; Thu, 14 Nov 2019 17:46:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573782405; cv=none; d=google.com; s=arc-20160816; b=GJY+CW7cwVRpM59vTQ3mMcrO7kt4pTWAyjsOdBjk5R5Agj7W+XFZ5L2dht3XSyd6Dv iQkd+7N9VZtYLjn1pXiG7wIKKVOooZWu2Wo+my4pLmwc95p1bQzzzh/GyEU7iuXmlEKg qta5H3rjiLUe0wLxFaJgKpWWSDDFSRMYBHHtM+gLmyLgvpHjzI2Rs/O/iYsMspdHimVj ssitMgCebiuAC34ZUVajnp53nc5u7ETa1AGEARDwg4KetRvgcxctoV1aN+//Fyx52TQV dwYR1rNxUqRlvz0b3hgUKeThLldZiyE1rV3hlr1rEQUI9RjuyH8oFrCBLGI/xDN1/yDi ZMNQ== 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=k0pnOKW8Fl1HaRlr+jP/A0MYov1pskUxFF9PMymv4LQ=; b=QBtLqf6ZVmpUt4wdLU71Td4lDXl2Md3yam7cbJGeMqrromifCz0FPn6UbEcFbTXzqw GQfaykIHFktfAWz5zZzP3dcvAoDKeiavXquqy718ok4n3G4FYgLDlE7qkpM4y19nFU4M gMUGbR+uFiBhfkF5FQNhJcqPAT366bE2MGuHdk+cEhmks/JaTN8nXwTIEnSCsvzwf+/9 9TqFtvaj6UkQgK/3MvNFwRoOoEzEe8okAxEOLYfbSbMuVwv5UveSpLNi6ju8sNI/Vpxd skmZ+sD7Hv0jzQDCrsmWRMvb6BhQ5uZkBVl8mf6gp6//zCkj3KHHO6VyfqRutslLmMSI AOuw== 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 b26si2848147edc.25.2019.11.14.17.46.20; Thu, 14 Nov 2019 17:46:45 -0800 (PST) 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 S1727463AbfKOBpN (ORCPT + 99 others); Thu, 14 Nov 2019 20:45:13 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:57332 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726852AbfKOBpN (ORCPT ); Thu, 14 Nov 2019 20:45:13 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::3d5]) (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 9E25714B73C6A; Thu, 14 Nov 2019 17:45:12 -0800 (PST) Date: Thu, 14 Nov 2019 17:45:12 -0800 (PST) Message-Id: <20191114.174512.2282984013110706126.davem@davemloft.net> To: andrea.mayer@uniroma2.it Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, dav.lebrun@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next, 1/3] seg6: verify srh pointer in get_srh() From: David Miller In-Reply-To: <20191113192912.17546-2-andrea.mayer@uniroma2.it> References: <20191113192912.17546-1-andrea.mayer@uniroma2.it> <20191113192912.17546-2-andrea.mayer@uniroma2.it> 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]); Thu, 14 Nov 2019 17:45:12 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrea Mayer Date: Wed, 13 Nov 2019 20:29:10 +0100 > pskb_may_pull may change pointers in header. For this reason, it is > mandatory to reload any pointer that points into skb header. > > Signed-off-by: Andrea Mayer This is a bug fix and must be separated out and submitted to 'net'. Then you must wait until 'net' is merged into 'net-next' so that you can cleanly resubmit the other changes in this series which add the new features. Actually, patch #2 looks like a bug fix as well.