Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp138331lqh; Mon, 6 May 2024 14:00:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMkVLyMRMjo1Z+z8zv56hGKLM0RjqgfTutvCV9qYLMVVbR8k/yxOgrC1pe9ZsjGkRasgAlw2WX2iwMj9uMfd8Tlm57D/NIdrnApxNPsQ== X-Google-Smtp-Source: AGHT+IEGBXaajKu79VxNTkWhqT/TvSwEwiZqiky7KXmSXIHET42KW9cgxJDstn4oPIheNO7+Icdf X-Received: by 2002:a17:90a:c692:b0:2aa:8130:e3eb with SMTP id 98e67ed59e1d1-2b5bbe49a6bmr1141863a91.11.1715029240536; Mon, 06 May 2024 14:00:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715029240; cv=pass; d=google.com; s=arc-20160816; b=gbfG05FhCQ0Kz8OPX4TukzFMG3XeHsBzwJgpukXn0guTCR5jY/4I66C+8O5YzJRvaf 3FODQtJ5VTB7rke/mVvN8LNU9LC5its7Vv/5oMKifUoGHMkX/8esoFEBJ5IqPjQ7DxpE CN2YXJVBgGSGKQePmK/ExHP2AXCNRZlHSuZrmlCh7Bm+S5ar5CHxqmottJhQVfCp9F78 m+qM6o20aABb6IXtmfj41E7DcuDMTWuZEuKOWzrglB23kwsJG5/JaVNScUlN5e9p0qq6 Ce7ZOTB82vNJfewvMJtssmA5Y5pWAJuQrAds9NUeSAksS5Dplzm6QOubOxNtCRARASG5 m9iQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=MkW7OYyf4TM1KdeTaKGqJKkJRZePwWoG7II7FFln58I=; fh=MRuasZH5Vz81LPTS1NXYwPAew2H/At+rV30ZOXmt5BA=; b=aPL/N/NTL7AU1UHDAADmgZqcDAbbQq60ug6w5aWpMxQSqe3MI6UZqljARWw7gbLZhD wrgS1kvlJtkDPqocstCgnEPzWatd0Y42WaDQr1UgLY1TWNNhim5r760Q9+ocSLMvwCzN FSWTsuYHMRXuRnIJ/56we9jxEsZ9Kev61/kzghR5J/BvwfMW5G3++wfoY/5H35nTX5oH dWBF+A6auYsqvkpplQw1DKWedyGym9NkhG7G3/ECoOibDQxs3OTOdrDQDyeSoPIh9v2c DTdQ6q56Ti27Dlpjx6hvsJS3B9bnBUuwvZHaUKjOIA84T6OIV2OBI+XOZ3Cc4yxXE2lW Ps0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XHiq341e; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t7-20020a17090a4e4700b002b1d0dc6163si9261000pjl.90.2024.05.06.14.00.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 14:00:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XHiq341e; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 245442830BC for ; Mon, 6 May 2024 21:00:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C40C15B991; Mon, 6 May 2024 21:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XHiq341e" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 32646EBB; Mon, 6 May 2024 21:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715029229; cv=none; b=Aa8xW6L2b7uL37DXbEIAYFOUlhRcrvPUWFvIQi+vTok78AN3Z+bIe/+DVCAeX0vrKFrkcGcARmW6buAfH+mAIyTWjqu96CCcrtK/zbxH7t0cLiw3tNT+FFlcML29K9n1AWQrQVqSdehughFPTmU57Q6cZeVOefuj+kGiCYsLb0w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715029229; c=relaxed/simple; bh=euep0cZkBW8JkBqz2qwER9CnPAwCYh/hflWCc3SyRv8=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=Hs9NsVWx/QRc4ma383s1/iPmUSYv9h9gSl59Fi8eEWR7XgPOgPmuy012qvp54R7JijNqMBJ4VkzU1CF8+LpmmNx+4p8y/yCyGEmZNWCFClgT0Q+5IiHCPwCQy0sRaPpt8gLYSpiJcwC0919jXTmmJ9OsbMYfWyDY9zqrlUbcRDM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XHiq341e; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 89945C4AF65; Mon, 6 May 2024 21:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715029228; bh=euep0cZkBW8JkBqz2qwER9CnPAwCYh/hflWCc3SyRv8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=XHiq341eR6eJjhLUMMgLXBcKLu6IuYQr9RrVVuJIHDZ5fM7yeJOWIVO633hoGPEqS cO+B6keGCRykadaZJkRUuA+kRn74Ym/PLH+7cU54lWyeVWDUG6HSyCRBhunq+c9lbr 8+ijsHdOF6JCEZOXO/DoyugVMqhRkiP8JVvDLZlg3P8T01Wxnk1knC976Exh0+AM9l CmbKpN4rmtTcpwd5t3ZDyWO6g8cn0Rfbb5sFH12pwYefbwCxENN4YDR655Bzx7+2VT ezzseIDQyUirMbwWZ40Do+208Vun9P6lQTw6q40fbHyZkPKBJL8m1hdADLQua93+WO EG0V47hrFuAAA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 7774EC43335; Mon, 6 May 2024 21:00:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] selftests/bpf: fix pointer arithmetic in test_xdp_do_redirect From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171502922848.22261.11157218747353339667.git-patchwork-notify@kernel.org> Date: Mon, 06 May 2024 21:00:28 +0000 References: <20240506145023.214248-1-mschmidt@redhat.com> In-Reply-To: <20240506145023.214248-1-mschmidt@redhat.com> To: Michal Schmidt Cc: ast@kernel.org, daniel@iogearbox.net, davem@davemloft.net, kuba@kernel.org, hawk@kernel.org, john.fastabend@gmail.com, andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com, song@kernel.org, yonghong.song@linux.dev, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, mykolal@fb.com, shuah@kernel.org, aleksander.lobakin@intel.com, toke@redhat.com, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko : On Mon, 6 May 2024 16:50:22 +0200 you wrote: > Cast operation has a higher precedence than addition. The code here > wants to zero the 2nd half of the 64-bit metadata, but due to a pointer > arithmetic mistake, it writes the zero at offset 16 instead. > > Just adding parentheses around "data + 4" would fix this, but I think > this will be slightly better readable with array syntax. > > [...] Here is the summary with links: - [net] selftests/bpf: fix pointer arithmetic in test_xdp_do_redirect https://git.kernel.org/bpf/bpf-next/c/e549b39a0ab8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html