Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp453631lqc; Fri, 8 Mar 2024 02:21:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+wPM4QWqvgz8r/734CvCYiwAUrv/nD+j+EKn+H+68LLIh3/uNAdxixbP4yKcaBGe2jlX05+syHc1csAnch/+oTwf6V5crDIkHvYwxIg== X-Google-Smtp-Source: AGHT+IGCPE39mrkw3jtE1rj3kZnnesnHdOMaYkuP82lxIuub42QR91HzUagSV1YLhnn5YA0ThBSb X-Received: by 2002:a17:906:34c9:b0:a45:1d32:ac7 with SMTP id h9-20020a17090634c900b00a451d320ac7mr9825047ejb.42.1709893271874; Fri, 08 Mar 2024 02:21:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709893271; cv=pass; d=google.com; s=arc-20160816; b=t4u25oukqZYRdIe2/KMqtsaVTAHwl2xB32m2njRhEOFfLuzHlcZgEh/GnB6c74uV4i ON4UuShxI0bqLW0jGQWiShn9hsPLwAldDOvop6gCaiLbq8fhkSP1rzgmXoeUBwC+3EGe o+ZpkDjzh+2CtHaREa4Dilm3d3yCy5CZM0UezEjLt2eGQsm2VIU/f88t7chHsqbo+VMB JCJw3w1sE0wXJOIQdjeufZ2+FhUZYu/RkHCA3kFTdBfj4ryAd1TaetyHTu+HwTunUUDC U1qlsYivHPEyXZJHb5ISwszQzLotfavBsWw6JZM/gQkOgNit8Sy5h0PJjOEH4isRhZEk kaQA== 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=K7pdvM8qJbwU60xJpgt8dMjLNJrcc+FJm0jeD+H5ncM=; fh=z0wUdrEh9O/+dpBQuMy5RKZDFfVQ0i2badTZpw42PTU=; b=QHV+Hgi6B7ODD2ZMcTGQTln0uWwUpr+TRJhQzYE7+bGt3M2xLghTK11qSqSy3vXh6S 9gnjOtyT0EFefDpCgeVf6ElATnSwXlP+b0009dC6yXVkAbRbUGIPa7FC5FlK6AKJkKGs xB1bx5GxPz+rAlavI72jycKp226Ao53bhhLLzz2O/ergGHvPf5A+Ry1S7ENNlnQIcKP9 gnm5WZPZ38wsA3sNseQQ/aVN8STYBbGqZWFhFV3LTa5igfSuv1C/bH56jteK0ovC/USp RIBmG/NU+A8W0YSNJMfGe3d2xH98wbCmrQhD4/ItN9rD3/O+pqVF/VuLmFbBSQqPriuG 5PTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ITcpoBDk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96822-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x8-20020a1709064bc800b00a45ec1811f5si503454ejv.564.2024.03.08.02.21.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 02:21:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96822-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=@kernel.org header.s=k20201202 header.b=ITcpoBDk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96822-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 550F61F236F8 for ; Fri, 8 Mar 2024 10:21:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D9F85576D; Fri, 8 Mar 2024 10:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ITcpoBDk" 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 894F253E02; Fri, 8 Mar 2024 10:20:31 +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=1709893231; cv=none; b=gBGhefgSjLzH2i7cX6NF9yn2XY0B3+123KlLy0RjrzFUGa8zYvwGpLffQ7UqSdwXPh7Y0UqfCK1zlgYQsJufPvH8nnZL6EgSNabFohQNq2b2mqMwzFEgP9Dj32G2jpWv+upNvHGLHy1Cqdnpax8c2kCces64Iu/BESS+0lmjkow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709893231; c=relaxed/simple; bh=4/oZal4/5iKFtxf9Y3vrEaP+XdcROgnJfuGVAdN4iIY=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=YV2a/MXQ3743uUeGcQHAf4HKbAWCHbSQ/giILevUQYVi7pbfGVa6Kfhw8g9JR2pMQS6nHsF7XI+xBefMA27mKSFA3RTgREk3mhcFd7PTQDo+84XlK3pIr5Nxujp0ndvDFdBmQELwo3rQsRItKNsOWQzYOvsCncuPvew2UUe/U10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ITcpoBDk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 39EA0C433B1; Fri, 8 Mar 2024 10:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709893231; bh=4/oZal4/5iKFtxf9Y3vrEaP+XdcROgnJfuGVAdN4iIY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ITcpoBDkCSBG2hVY5GL3uvWs0td1mLBcoyzv97k8ZMjQIBBWBX5VYyNyVPkC1+OxT SjGS1jqMU13mzXaxo0NxvFIQQvsqilOaalrRpPMZnK8uBWBBMNAbWsfHSRYeTrlFUg /CWI6qu5XpJK+7kCvE6+eutaRmNlCL3Dfa2MKwBeho9vD3JSsblZFtusROfsRflMF8 u6/81PAYDRUVfquViW7+z+GkCaVhakw83DnxJBbca6mgHveuX4ZpjG3liAmvW3dKBR 6M1edN1/zcDE1odt/48tjKl/n2S1VKfnejfK2BDgLm/XkHjYkK6/NmcEQZxhSPs31E NHF4wZ1Nw6CYQ== 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 1D688D84BBF; Fri, 8 Mar 2024 10:20:31 +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 v5] ipv6: fib6_rules: flush route cache when rule is changed From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170989323111.6327.13031133027277965133.git-patchwork-notify@kernel.org> Date: Fri, 08 Mar 2024 10:20:31 +0000 References: <20240307100157.29699-1-shiming.cheng@mediatek.com> In-Reply-To: <20240307100157.29699-1-shiming.cheng@mediatek.com> To: Shiming Cheng Cc: jiri@resnulli.us, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, edumazet@google.com, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, lena.wang@mediatek.com Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 7 Mar 2024 18:01:57 +0800 you wrote: > When rule policy is changed, ipv6 socket cache is not refreshed. > The sock's skb still uses a outdated route cache and was sent to > a wrong interface. > > To avoid this error we should update fib node's version when > rule is changed. Then skb's route will be reroute checked as > route cache version is already different with fib node version. > The route cache is refreshed to match the latest rule. > > [...] Here is the summary with links: - [net,v5] ipv6: fib6_rules: flush route cache when rule is changed https://git.kernel.org/netdev/net/c/c4386ab4f6c6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html