From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.199 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796434669; b=tdr+Tc3vmcYu5B5pOVFqV63y2FZWQ7naP5JL5wfvqU3xpbQdT6dK46/VDQKZZtDirTay GWX3QXv0EsskqUa9i8gZDlinkAflznrt+ZQiSQiodaXZYI7EFPOvfp/3lsqT4PsiAMP6p o/DpCpaGAl/bazVtaMAx+E4QclDlI5OH7b+8ZHuItGCwXnTMOzI5mq1Ze9KTJBLIjGPJ/ aLVMkQRGGi0rZPVgzQVcz7N8dggGthYx7x6X3yG7jp9ymQlR3mZ9eEVfMCEWRjZwRNgah 8G/srjQGHzwGs7G/69glmSPuNIc7BtPgzl0zJnaIvmC4+VPRKVwkX8RhRZJLG1rmO7w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796434669; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:Message-ID:Subject:From:To:Cc:Content-Type; bh=v/qlunbltrMbXDVByIfzQDy7bZf6TMulGuJMaLTogMc=; b=ng52B5xhWGGolOUpmf9UOWNHPwFyxeCssDmEDd8D1gBxshZxoWg1UtSfr20H5RZntBWM o7e+vD72jtlstpi4kHEGvGekeehFtBymm6UDUc92iZK/dpzfwyftdTmXNhIXxbsVoBF3Q a/LdbnqPl4o3WeQK3sC4jbrPwyfMvPzdLqUmiVlm6oWqWAGle95kpIpKMKKlUAwcV2zoX yR36kN9WThhgJe9G1k2yR5ulbsp8ZKONYewBuv0+ci03k3LdbvP/hykuW1V1SJgzl+yG4 fIi7iMF+hAFYKh51GyvHlfUrrgLCCcO+swTOC97+OFqzarNzHKkUQm9fG+w1taUm2qg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=nmsoNkwz; arc=none smtp.remote-ip=209.85.210.199 Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F16BC606A32D for ; Sat, 5 Dec 2026 01:37:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F16BC606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=nmsoNkwz Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-8b7cc3f8a4aso1021868b3a.3 for ; Fri, 04 Dec 2026 17:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796434668; x=1797039468; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=v/qlunbltrMbXDVByIfzQDy7bZf6TMulGuJMaLTogMc=; b=nmsoNkwz0K3WyA//i1i9gP8oHSVWNgtVKfGRvm7vw799/pEUjipsyDmBqAtSQDWuXF dxXqrH24MHSJpvErBnIlSSM2nIxOy3v8YFxKhmHl9qHGFBrCCplt1FsYj+TB9EF69s+I nOo+QcqLA3h21+oxt30ajC/yjEkJ806sj0k1zCzlsR0GgS6uwlsc0XP5nZ/pC5UVZSDf byfq5DKm/0dnJ7dJI9m9+PKbP7ndUf4y29/fKF/dJjd07aFRLrRJgzgornocWM9T7Bxv Z1MRIc4MnkvIdcW+Zm0LRk7D3WvMhiqbUpsg47EJOxADHeu5y5fB7BJoPSW0Ms24IKp3 GGcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796434668; x=1797039468; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=v/qlunbltrMbXDVByIfzQDy7bZf6TMulGuJMaLTogMc=; b=fTK0RdfAjvfvhFuwlW5wadqXMaK5Pex/NixY9LHkRAnZTTcqvkmu9YIyqtoH9ir6O7 qz1ncIW+z6z1+zPkpVzflr7I9flYfg3kpVvGeU977K9N0P8LSOUJzGNMPyAjBTUZz2Le SLh+OifUNAgwqoz4J+cmKx+MsBnccoZKexXefeFal0oPuFBF1lCt1BYY+hGlJhkRENRm dBqV/8PYxNK9ku/PPjjExhRxO3CVTSuhehYKv0Nad8DccJ5JXNEDnhP3fe1b7//o+VHb ZQcoKm1DbIIUv79bNNtheZZy0xc6C1QHdwoWl/hTE3JCrBRlxlVVZ9eL309whsTggyTm tTkA== X-Forwarded-Encrypted: i=1; AL+hErETkIQ2WSiKyxZeOB+0B/qp9VqLiqiTLvH2ez2eJEXoTHw7XHuNtcOYr9wRvlWp6dCvCpjtfzo=@vger.kernel.org X-Gm-Message-State: APuU4Z/MIupSXxz0GZ48TMwQ2oOiS89a+Ygbt7LJsNmg+dRXa0IW8EVv DgvX34yVkV0l54hGvl1KiPxXDlTqeL7i2AAgpzd2Ycf0SUG+TrctpckHJwIk6pinrefrAA0EsxN iD/NyYQ== X-Received: from pfjt6.prod.google.com ([2002:a05:6a00:21c6:b0:8dc:b2ad:ff9]) (user=kuniyu job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:b87:b0:89f:c156:d209 with SMTP id d2e1a72fcca58-8de2dd0018fmr3426316b3a.39.1796434667831; Fri, 04 Dec 2026 17:37:47 -0800 (PST) Date: Sat, 5 Dec 2026 10:37:47 +0900 In-Reply-To: <20261204064347.1236840-1-p@1g4.org> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261204064347.1236840-1-p@1g4.org> Message-ID: Subject: Re: [PATCH net v2] tcp: Skip congestion control updates for the same instance From: Kuniyuki Iwashima To: Paul Moses Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, edumazet@kernel.org, ncardwell@google.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, horms@kernel.org, martin.lau@kernel.org, kuifeng@meta.com, Alexei Starovoitov , stable@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Fri, 04 Dec 2026 06:44:11 +0000, Paul Moses wrote: > bpf_struct_ops_map_link_update() invokes the subsystem update callback > even when the link already uses the new map. For TCP congestion control, > tcp_update_congestion_control() then adds and removes the same list > entry, which can corrupt tcp_cong_list. > > Return success without changing the list when the old and new > congestion control ops are identical. > > Fixes: 8fb1a76a0f35 ("net: Update an existing TCP congestion control algorithm.") > Suggested-by: Alexei Starovoitov > Cc: stable@vger.kernel.org > Signed-off-by: Paul Moses Reviewed-by: Kuniyuki Iwashima