From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.197 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796434669; b=0DdvJdqwXNqg8NbkItRC9W5vn27yYk9w8X+3KfvAW07B0e+E/T8p+4f1C4zqTf0umGkb nXqyIaGggVbWknL4yz4Iwzjs+inr6WL4srrs2Vz2rreMwIpWXebyxdMHr/1zVJuQzhGUe b1nH8XuUhilcFoPqjGJOAEtEuh2gS1D4PViZQUdTqb7fVP7us/kmjumRKdlFKaDC0+M9w RffYRj2mlG8uTinxf0Q5J2ApvZjtR8iD6QpPGd4yP9c8WnN56YjQUv0oDGCNQFkPcqW4T lnDAaz/TlSwzuyUEVAkk3+X4nHYN4j3Kk22RZX6wI+0PXzXhT6uFxYo5sGOjC8sylhQ== 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=wE3eYwXupN69XFel1PaxQWjya8sDrQNz4kS7LQUOJuMO5XHEVZx8khK2cTnv87OQtTvT 239SnR6QHMfontF3riV3JOYFmIvFnU5BT6vn8qWthed/FYBEF39l+rtrkdP7XSTD7/J2b JQdLhwvuRmmOAUF+zTMZ/WtSNBSBZ4OIe4KW36HJE0Q7lCRgkimypJ2KOsNdpZRRVum2n k5kxuyoqxUnVxs7WIP8X0v1xT+n68So4nEEihoSWM6IntLhT2uArV9WqdgkhXox+fpK88 PxzXSzwjlQxxopYQ79HSgFgEaeg9QiOeV4B/DQGzIxZ/Uon2CBMvXFt4E5Pn8alPRHw== 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.197 Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) (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 E48FF606A322 for ; Sat, 5 Dec 2026 01:37:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E48FF606A322 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-f197.google.com with SMTP id d2e1a72fcca58-8b7cc3f8a4aso1021866b3a.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=1SBMg4AxDLYyyRfQrCp73GYi3C/ArXrySUOXdtbFZCCImc9kXs29J7cM5xsNW8NEWX 0IlLPkYW6YuUvbCrml6f8GMJ4ly2f7D9EPC5tqe8LCpCFhnjpkXtZH5SzIjlftgWyvBd 1IyqGAV+7xZXnXrLi1CpIqf3ZUegcwZe36FDsazrqmj0s8k9zEBXa6dUmLjC/bsB1iA1 ejn5gbSNWfjcpiwmbmrtaWH2aLnHWGhj9C9WkN9dxyTWoCmCSXja1WD4oEk2HRObZIiw N4oblf8eQ6JpcqqrRrq5Lte5Cz+Rd254jbMA5tpjW89clFTRS1uNW95nWWhIuBWSMPxF 1P9A== X-Forwarded-Encrypted: i=1; AL+hErGaO2Jb/uJnOggUYtDzVECG3aF7rw/xPkzh4t+HIHsqA1Yc5Agqhs2SFfRzL9OREGXo9mo=@vger.kernel.org X-Gm-Message-State: APuU4Z9+oZA9w04FpX9WsIS6FtyIX4t8t8li8sGrKl11INsTDZQENA0/ r1IqiOKScEOQKF9ntDRg5A5+uqAf/5CLhAmo5Sp7QMV42fAqZ+R2pjaAr99ff/45sKFSOta0cdC cIW6HWw== 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: bpf@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