Received: by 2002:a05:7208:13ca:b0:7f:395a:35b6 with SMTP id r10csp16321rbe; Wed, 28 Feb 2024 09:11:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWu6hD7u72/tyvxQ2XYMsKBsVTHwmXDnMGRf35gQ9BO0J8b6iWzJn1siqbdL3s1rjRZfY4kmmIt1YIKV/UKOV+xHiDKq7t7pfNHr23fhQ== X-Google-Smtp-Source: AGHT+IEiB98fC7Nk2HKXZbLX5pwlj1N7SqTV1bMIHaxvYupEcWjitwH32MqHbdkk+tqr69usjUX0 X-Received: by 2002:a17:903:244a:b0:1dc:1379:2152 with SMTP id l10-20020a170903244a00b001dc13792152mr38440pls.56.1709140266819; Wed, 28 Feb 2024 09:11:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709140266; cv=pass; d=google.com; s=arc-20160816; b=wDDri43HOoKc47PRsPbXgVyW99ga+mcpgYlaTGWY4DH/a9NbPN1/awoDNIQxe/WZv9 ao2scjxqsC1Vi/MGGNzqGdX0KW3yz+YgTbnUSBucIJBsgHnH/KxrtmizMghLGgtoFgSV 3ZXWFIf83oF8XahY027JdfrEnBRscczqwA9DQ724sQDZ1TeLU8LcAJKqDAgX/osN82UM cj5WV68LDCS/nJOT88K2nfBYvKrDcgHpq2/dXfIXFMWI/T2xRYTGMPfmSi42gH8N52cl Cyakh5Z8FkQvgMKYIgC2Xylxiuj4+cPLqCB1CmPy53H3kLMo7x+94IMZ/kvYbWHNzEjb WsvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=stUSePaurhatS3Ury/aUkVTpamNEr91HAAR49t8RyYY=; fh=pUoPCvszWFahA0V/KpaG8JhIymTiKQjVvStBFsHtgNA=; b=cSXBdB+dupD/ag8LsrvbcRyNpLhVyLRqNTl5XXi4EyhszL3+vzxoeSlWQoMHoyJtj/ l/vxLFEod6ktcUrLRdlOsHo5XR42y3k42mirrwpHX41KpNIxFGxKjKMrKBnGuDFWYa0q feFlpMhWOTeeTBCuN0j9tukF9Nn9YiY0iUZ57Z8awVnaXod25Lk+Eun9hghZcBf9WF9b P85PJD54t40uUciygm02fvsR10XP2G/uWlquaCrOnDLXKw/eMc/Tr0TgfcrFlME7J4S7 WfwmLinREZWCa3vyAbc2zv4gmIwER/WoCmTlE7DQaTkwMUPhY4gWzOwkf/Sur5vSBuhs d0ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=KhE2jlyE; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-85302-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85302-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j9-20020a170903024900b001dc88b8c170si3693818plh.408.2024.02.28.09.11.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 09:11:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85302-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=KhE2jlyE; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-85302-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85302-linux.lists.archive=gmail.com@vger.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 7EB1628A01B for ; Wed, 28 Feb 2024 15:50:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 722BB15B98C; Wed, 28 Feb 2024 15:50:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="KhE2jlyE" Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6011F15CD65 for ; Wed, 28 Feb 2024 15:50:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709135451; cv=none; b=sMTkyXpoXyO1Mo6Ar3wAAD+4+yX9klH3+/Zu5FCBlVLv3QPoklgA98m4Fkwgc83ISNF8UNubiwDryCmw9Y7rTfLi5kMcJgW7hyzxJeOQLaIHC+BsWyCbpS1XTWYADgp1zqMWmKt+FT6X/lAG9B7wkk6XI7rXlvljcwb4Sq4JTUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709135451; c=relaxed/simple; bh=qw/lsb8EBSivANarcDEFfqbKUxGjNYj5K/tvppvuWZs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PMxgSWG+5ZGvaEfgdA6JW51wDqqFz+z8cTzBPHDBaAUm3quSncTB7mDseOZE+FJExlU0ubYVHKDJE8olyyLbrLm8iYxt4EzKSbeRFdgl42HwGTsN4HFgUmDs5Ikx9V4xJCzDWDHE1mqOvZSgHTZyVmESnwP2hsO9QG3AOk4jdPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=KhE2jlyE; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-412b7bb0bd3so2060565e9.1 for ; Wed, 28 Feb 2024 07:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1709135446; x=1709740246; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=stUSePaurhatS3Ury/aUkVTpamNEr91HAAR49t8RyYY=; b=KhE2jlyEQ8bnsMCHGrLhkDjUYoFfFKvxOdTUIpfYihckDn5QyjwOoW6LBoM8z7E0Zp /coRuhNLniDOcXa8M/a8RXZkZDx2FuTzKYS1kA+4Wp3phY45mAF9NVbH52ZXgEyANu7D rCt3ZMPOUBKnUPaWCmZ0eG14JC6AMP5yOpHvpVAZWLMUYBoISZtQxa34F7FUJf8bCiHN qW30VTfIj7oP9RqKCe7FvpQXtCQwLQG/WM0j6U8sNpaZT0q1R153WxI6h1UkyJYtM6t5 Wv0fIfXdP3fTW83RvZva91s3+V6QbAyr+RAxun1SAmulOFI+T6/r647AcAw6aBk953rW Gq/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709135446; x=1709740246; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=stUSePaurhatS3Ury/aUkVTpamNEr91HAAR49t8RyYY=; b=hzbQuA/dl0nk9Y0hTtxlKmhYEqRxCdkgquG2xTfZ1z9u0NkXAwFLpjGd1GpVuuwHg9 LVzzO9XSvQixaAWZXNACWRGhmFAgup4YdyZM4W8VrslMGYR0pjCGnXXxkwZF7Ajbu/oq B101WLzbklPAYpghF350vJt8YUp8h7kmAJsYtxoehc3oJTD4Hp19ZZo7L6KPP9d5QBq7 6ukST3OgpJAROnlzLhHWO8YYrh9GPMeaffVs1Wmus/JZY/V1zIA5Yu0B02U1lYcx4gGJ 2SuRaICDALKxPB2oMPV6uwejZr/U0A/B0tizexPzPbvsSLhQlnyJeGhtqrIW6ru+VlAM yaeA== X-Forwarded-Encrypted: i=1; AJvYcCXtfFbpSH3jcJLVGFNEN3QCuMN5zukg1jaHZZI/WjZPrjutls3qOgyYtzWodU/baRbKI6zTyEB1Y36RLtlK3POb6/wsQuLWZ5Ifcm5b X-Gm-Message-State: AOJu0Ywfcg1ljCRR/C6EFM1pur+JbtOhRLH7KW61kAmy1T/YZklxR3st hFsddNzubqo30HqGdiqmOQ43N5q0tfqZW0cm7x/kNJDtfrg76f6Bqa9XFTf/rjs= X-Received: by 2002:a05:600c:4f4e:b0:410:78fb:bed2 with SMTP id m14-20020a05600c4f4e00b0041078fbbed2mr2843006wmq.19.1709135446576; Wed, 28 Feb 2024 07:50:46 -0800 (PST) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id 9-20020a05600c230900b004129018510esm2401794wmo.22.2024.02.28.07.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 07:50:46 -0800 (PST) Date: Wed, 28 Feb 2024 16:50:43 +0100 From: Jiri Pirko To: Lena Wang =?utf-8?B?KOeOi+WonCk=?= Cc: "davem@davemloft.net" , "kuba@kernel.org" , "edumazet@google.com" , "pabeni@redhat.com" , "dsahern@kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Shiming Cheng =?utf-8?B?KOaIkOivl+aYjik=?= Subject: Re: [PATCH net v3] ipv6:flush ipv6 route cache when rule is changed Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Wed, Feb 28, 2024 at 04:38:56PM CET, Lena.Wang@mediatek.com wrote: >From: Shiming Cheng > >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. > >Signed-off-by: Shiming Cheng >Signed-off-by: Lena Wang 1) You are still missing Fixes tags, I don't know what to say. 2) Re patch subject: "ipv6:flush ipv6 route cache when rule is changed" Could it be: "ipv6: fib6_rules: flush route cache when rule is changed" ? please. 3) Could you please honor the 24h hours resubmission rule: https://www.kernel.org/doc/html/v6.6/process/maintainer-netdev.html#tl-dr pw-bot: cr