Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1419725rdb; Fri, 16 Feb 2024 15:50:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlkUcBzUO5k+z6LsfcO4r2DWFcZoEuwl1/QLb/FEJL1ZR/SKGIcDUF9s5cHuR8AVt57bA+htM5mEJJwN4+j/YArKf55GCrfdvxMJdMEw== X-Google-Smtp-Source: AGHT+IHSXMGn8jSSidwhGLxt//gJCz4JAWaGm4ZqkgMxHaxfd5RsZWEqFzGj09yW7/OmWZR0bLex X-Received: by 2002:a17:906:2791:b0:a3d:b150:2145 with SMTP id j17-20020a170906279100b00a3db1502145mr3488415ejc.40.1708127428192; Fri, 16 Feb 2024 15:50:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708127428; cv=pass; d=google.com; s=arc-20160816; b=i0AtsYauv9aVBQfUIEKwvedi622z2dW5VVikIENl6faqzz7nZ9cePHGh3cuF5fPZZy Nopf9K1KevKHTBYB2jIbAaEgZsSj9wwWRYVZ56GrRa8ZK8Re0FaQVjX/4iQY4Ko9OCQN Qi54K1F/k1xWxNOe0uWXULciIJBChALVTUusegE0Yg+WUPETzUTB3QeTTifqLQLlKKhj llNTICIWXQtRpmosg3Y9ziS1cRDkzND1kVCf+ztUZ6B0jEEp6hDLlJ9NZMC47D41xs5a ymHJK/QaGzpm23It29NNcha+QxIOoyl6FWNzlCKct7xC1TAegOYCxsTdP9k4+EAfgKX3 G/Yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-filter; bh=eMLDY0oEAFPsqXefhCsGRO69q/q7s/Eh/mdW8pbZR8I=; fh=wKA1yLAaxZXTggjEsc7ekQegiUD1yMj/fZjOnZZQ/2U=; b=VcyE3uVNbXs9kK/eh9hY9A92y1jgsZR5PUaFs4Bxx/HKQ0rP7Gl9i/Y1wn653p3zp9 nLEXhIw8quplJfPB9MVZL9YvnTS5VNub1icKlMTqyNWDvfFkA/kFhn64rtS+xNi+YJlQ /mwrUoF9oIqDhnmQFgca3+w3tm1/YW1oUJB7zkKzCuOe637ZvGOjoPsledCaulKypXsI epc/FhFXye27sCRTusvB6DFHpg/jDtOlcU7vmFcWQ1GJrvo0onSkWucFYUCFOMZn1beS LG1NDHKi+aKEQmSsyorNN3P2Te8u7NBTJ9lNs1K0xKtEET/un4zrqruI+cDT3vw5H2NS ySsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=0eZbR2l9; arc=pass (i=1 spf=pass spfdomain=uliege.be dkim=pass dkdomain=uliege.be dmarc=pass fromdomain=uliege.be); spf=pass (google.com: domain of linux-kernel+bounces-69490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=uliege.be Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m14-20020a17090607ce00b00a3d57a9b2easi371511ejc.119.2024.02.16.15.50.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 15:50:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=0eZbR2l9; arc=pass (i=1 spf=pass spfdomain=uliege.be dkim=pass dkdomain=uliege.be dmarc=pass fromdomain=uliege.be); spf=pass (google.com: domain of linux-kernel+bounces-69490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=uliege.be Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B14491F2294E for ; Fri, 16 Feb 2024 23:50:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB5A914901F; Fri, 16 Feb 2024 23:50:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=uliege.be header.i=@uliege.be header.b="0eZbR2l9" Received: from serv108.segi.ulg.ac.be (serv108.segi.ulg.ac.be [139.165.32.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3361A1487F5; Fri, 16 Feb 2024 23:50:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=139.165.32.111 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708127414; cv=none; b=WQF9AAwwag4lrTuGipWjR7y7X5t9P2BSY0IHKMC1Hj9Q7FwlGsdOV857hEZn7cpCOzkATVI6z8EtizigtXFgAGAlPlNMpcDu8XVlf2Vs90Zkg/LOMfcQp6VbWHwTlBdeQaMvjcbVGBRJqRFJAarOqEhNX/jOWQXKaBmhKTAiJw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708127414; c=relaxed/simple; bh=ewZyQaeiMirI+9fW2Ek8NXDSlbSYf5H+Yv+QmoDrGVA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=lUo0tdePO4fj0AFBSawIT18eIYYagCo6/FO02qTNQvjF5e5QBxC6/r2aTrLldDUgVcYcbcCAPDEGwk3GOEeMPtn0yHrtUKNBJo/vcMdSf9w7j2sCt5JeUOFg9huJsvtKCG5ijsLrNM4C5nIbxJZ+PrzbPg0K88yx/AUO4OQv308= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uliege.be; spf=pass smtp.mailfrom=uliege.be; dkim=pass (2048-bit key) header.d=uliege.be header.i=@uliege.be header.b=0eZbR2l9; arc=none smtp.client-ip=139.165.32.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uliege.be Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uliege.be Received: from localhost.localdomain (125.179-65-87.adsl-dyn.isp.belgacom.be [87.65.179.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by serv108.segi.ulg.ac.be (Postfix) with ESMTPSA id 43599200C998; Sat, 17 Feb 2024 00:44:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 serv108.segi.ulg.ac.be 43599200C998 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uliege.be; s=ulg20190529; t=1708127066; bh=eMLDY0oEAFPsqXefhCsGRO69q/q7s/Eh/mdW8pbZR8I=; h=From:To:Cc:Subject:Date:From; b=0eZbR2l9PWwUhOewGVUR/GNLWrN2fHH4+t91iqHSaBXrtdQPDh48EnaG5Edw6oGdg ucQUNgVJscZpz9G2cLUzV+IEAkIYc2UUekVw+xAZtXO9iZpbjvGsT70sdLF6NVFMHG wWkAf4Nme/5phCp8Acsl+wi/o+ps+4ycqtZ8u46A2w4KaE+tCiOU2kQIg99I0OUR6a q24/8FFYJRj7NEvQLYmK9s2UXXJhRUwOSBo7sPVHxSq7sut2UftqWL2+rsJTZDEf93 EKpwiBNVudy42bv+8srIV/yJepZTNbbq2IPg1lfsFrDV6HqmwoIwA9n1OfMsUAbUhH t6O6fhjhadtng== From: Justin Iurman To: netdev@vger.kernel.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, shuah@kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, justin.iurman@uliege.be Subject: [PATCH net 0/2] ioam6: fix write to cloned skb's Date: Sat, 17 Feb 2024 00:43:54 +0100 Message-Id: <20240216234356.32243-1-justin.iurman@uliege.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Make sure the IOAM data insertion is not applied on cloned skb's. As a consequence, ioam selftests needed a refactoring. Justin Iurman (2): ioam6: fix write to cloned skb in ipv6_hop_ioam() selftests: ioam6: refactoring to align with the fix net/ipv6/exthdrs.c | 8 ++ tools/testing/selftests/net/ioam6.sh | 38 ++++---- tools/testing/selftests/net/ioam6_parser.c | 101 +++++++++++---------- 3 files changed, 81 insertions(+), 66 deletions(-) base-commit: 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 -- 2.34.1