From nobody Sat Feb 7 11:39:41 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 01BC6325490 for ; Sun, 25 Jan 2026 16:08:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769357293; cv=none; b=GH62z9srwvY1uBoUPC+NX/4xUCli+dGLCx6yiFZwQNYU/Y3H7K7S7eAz1rR464YQlnWhVVOLafHigch5q9xD4OOEcsHqwaL+Y/dCKorpYOH33UD+yaYEgo3ExNunycIxVmWdO1D4fTrUfg50JRn9OjxJNPpVcDVIgOq/5uwquNY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769357293; c=relaxed/simple; bh=K2R9b0barWC68k/7xbhNUGCfm1zFHkjY7UaNg/NdOEg=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=LzmjKgTd6mTBWPB3uS3ZMHQplvm2e/fRSRLBFI0OM6DfahdgcAD0g7I6G+U6KltvlHtsCTds6tL9WguAw+h+GkYFKf2o0jCLpti0zJrq05lvs81forvRewUkuUU6153pE6IYo+PHGd0kSgk3ilPTzrGcIli9Eyu3vW9vmmrfqmM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QNJfx2Lb; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QNJfx2Lb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769357290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=vBKRDP8bqkordujGp7qy48QcPV4IJTrct7fsioyRbjk=; b=QNJfx2LbernWrdwz+hyK1lauodzqSbJ0OWh59YXe2ndrT5OfseRCk1XefOVHJQ2BkiUSVP 1g1WZ02Z35RGrX7cS5EgEQK5HWcK/PevB4RTBx+x7RSunnDZ754RLhzozH2B6kXa2RvuW8 NHNaxQYHiyXQoR84MiFpOxMY24PW8ZU= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-272-flqaROaMMQSqWeM4JnXa7g-1; Sun, 25 Jan 2026 11:08:09 -0500 X-MC-Unique: flqaROaMMQSqWeM4JnXa7g-1 X-Mimecast-MFC-AGG-ID: flqaROaMMQSqWeM4JnXa7g_1769357287 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 452B71956089; Sun, 25 Jan 2026 16:08:07 +0000 (UTC) Received: from fedora (unknown [10.45.224.8]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 89E9F180049F; Sun, 25 Jan 2026 16:08:01 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Sun, 25 Jan 2026 17:08:06 +0100 (CET) Date: Sun, 25 Jan 2026 17:08:00 +0100 From: Oleg Nesterov To: Andrew Morton Cc: Alice Ryhl , Boris Brezillon , Christian =?iso-8859-1?Q?K=F6nig?= , Felix Kuehling , Leon Romanovsky , Steven Price , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v2 7/7] netclassid: use thread_group_leader(p) in update_classid_task() Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cleanup and preparation to simplify the next changes. Signed-off-by: Oleg Nesterov --- net/core/netclassid_cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/netclassid_cgroup.c b/net/core/netclassid_cgroup.c index dff66d8fb325..db9a5354f9de 100644 --- a/net/core/netclassid_cgroup.c +++ b/net/core/netclassid_cgroup.c @@ -93,7 +93,7 @@ static void update_classid_task(struct task_struct *p, u3= 2 classid) /* Only update the leader task, when many threads in this task, * so it can avoid the useless traversal. */ - if (p !=3D p->group_leader) + if (!thread_group_leader(p)) return; =20 do { --=20 2.52.0