Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp704398ybc; Sat, 16 Nov 2019 07:15:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxJeX6cSt2aiizdn56I7FCTRxu8i7NJyQay//McCwsD4OCHYkL+dpKv77J20Qp4zj1/NbcR X-Received: by 2002:a17:906:f0c9:: with SMTP id dk9mr10559160ejb.56.1573917320233; Sat, 16 Nov 2019 07:15:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573917320; cv=none; d=google.com; s=arc-20160816; b=am+fDfq4ICF1Ff+N2ZBP6O2a1wpidFDyJWpFAmXVHIR85NDborVVUb2h01+J/9vu05 q8T+6xiiLDmIzH6qwUoiifz6LXHM+iEyL8MaRbdY1VQ/aWlWMdvgI0Rkafa1x/VrZaL4 1GPUgYcruA9cim1oI7roJHlN5rpDbeSlJmpU1gaCd9IKozQ3q3AV0X5j1/MkSULDvbrV rmzi9tIThuPso+IOpf7nqUGGgwOdfjMfdNrhb8BGx+72aO5mkJdXczFLSNuk52UgUJAx bHhDiN0mKSFBbYs8C9vHX0HihnNcBWpIkE4EtBZhYk/CGxS0dBNLhrGDTya4tP+OFIwm C2Vg== 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 :message-id:date:subject:cc:to:from; bh=SgYg7pzybrX4ei+sFzpSdPwGgrhxameKJNskb99sg34=; b=Ce1WCBjwITv1fx1ILvm8xra9TYJtnukNnW+MKUjfrbJlpRnCopVjfkIW0ioXyTUpxn RWsd5YJ/rdNU822fFj0OAIZsMZ5nQQxfD/B/N1j6u9y2EobIuRFq/Pb6/He9BpCUtlPC ZTJF3nNvZfklS2fKbWgVG+Q/pVYuskvtwqif1DUoTY7cacgCcdw1O8MZzSBd/9mDO2iv bH77blltPwuvbkLGnxAnEzVEo4gW26LNUFoq1b/Y/OY2yzii9R1EYuVFkL8ByGQwVTBn 9c39fBw2m2NX2HehAHjgvwjveFvsFlvPeiDFZmmdYsSY9tav6hCYVpviVm2xjm5M1Scg CuwA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uniroma2.it Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si9581129edl.95.2019.11.16.07.14.55; Sat, 16 Nov 2019 07:15:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uniroma2.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbfKPPNw (ORCPT + 99 others); Sat, 16 Nov 2019 10:13:52 -0500 Received: from smtp.uniroma2.it ([160.80.6.23]:54160 "EHLO smtp.uniroma2.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727123AbfKPPNw (ORCPT ); Sat, 16 Nov 2019 10:13:52 -0500 Received: from localhost.localdomain ([160.80.103.126]) by smtp-2015.uniroma2.it (8.14.4/8.14.4/Debian-8) with ESMTP id xAGF6Rd9011419 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 16 Nov 2019 16:06:27 +0100 From: Andrea Mayer To: "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , David Lebrun , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andrea Mayer Subject: [net, 0/2] seg6: fixes to Segment Routing in IPv6 Date: Sat, 16 Nov 2019 16:05:51 +0100 Message-Id: <20191116150553.17497-1-andrea.mayer@uniroma2.it> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.100.0 at smtp-2015 X-Virus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset is divided in 2 patches and it introduces some fixes to Segment Routing in IPv6, which are: - in function get_srh() fix the srh pointer after calling pskb_may_pull(); - fix the skb->transport_header after calling decap_and_validate() function; Any comments on the patchset are welcome. Thanks. Andrea Mayer (2): seg6: fix srh pointer in get_srh() seg6: fix skb transport_header after decap_and_validate() net/ipv6/seg6_local.c | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.20.1