From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-4399.protonmail.ch (mail-4399.protonmail.ch [185.70.43.99]) (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 C2D3D239E75 for ; Thu, 19 Feb 2026 02:32:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771468338; cv=none; b=PFn5626zOJVSb/Rgr4EqFubUOZ8oBlvlzbu9ybPzbOstiFGpqA+pJ8cZNVmgJOeIpXquUCNAb8g0hYW3kcGBiqSOc3jlapOgNf8j4QBZqYrt90sBNfDZITtdN16bQozYB601oehxoDMBu8ywuicMTn6ZA6N8CFtzOI+qUqxO1PE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771468338; c=relaxed/simple; bh=c7Ok8iXOfSYz4v4jJ7U6j6p+rRUgu075WEHNkvllUf8=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=Ptw0Ei/tIwZfnAka3GbANOSP4vhApukO7KGQbdwV12LpZ1vAW/LknrAFfpI4tAD1R7tYNNbBbIOv8/I6eE2iU8RdDP+HUmTxB0FJLY45CL+peLUjjLuqYLFCHBK616iP+oHxgdenY4QcxT5ldmx0xGv9ssGnXz1FlqdaBmsycok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=1g4.org; spf=pass smtp.mailfrom=1g4.org; dkim=pass (2048-bit key) header.d=1g4.org header.i=@1g4.org header.b=oW89b9MV; arc=none smtp.client-ip=185.70.43.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=1g4.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=1g4.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=1g4.org header.i=@1g4.org header.b="oW89b9MV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1g4.org; s=protonmail2; t=1771468327; x=1771727527; bh=1YjamJ6ylCdZhUudRHXFxvvo6UfDwTK/0lEPw8J6C+I=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=oW89b9MVIgvCV+UkzcJmU81WPKRNbuRda5aKQVOuw7DwMcOm2SwTBdNtZdKM0eH1t oo9U2GRjUaFk0rB3XWdOozUkusjTRgKgX867Xlp2qsHATWS89c88baObKKETrv8Rus 83f5sweBktGuWRXvnNyDB2xk86pVjmC4Z/UzIDrhISijUdfuWDKxH1TH/0NVHbrzKm Azw2jcq95tGHn0Sy7I8TkJNv8QnTDKxA/plRHejxNVCgJPXzFUNyFowrv7WbyNPi/E hpdV1YkuO8Yr//11Pjk+jW6c6PVothpmWRkUuueNLDowEEljdL9IM9VhDk3XBTIUGa G0B61ftW9DI8A== Date: Thu, 19 Feb 2026 02:32:02 +0000 To: Victor Nogueira , Jamal Hadi Salim , Cong Wang , Jiri Pirko From: Paul Moses Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Moses Subject: [PATCH net v7 0/1] net/sched: act_gate: snapshot parameters with RCU on replace Message-ID: <20260219023151.171753-1-p@1g4.org> Feedback-ID: 8253658:user:proton X-Pm-Message-ID: 938bcd6b3be7383a87fc839d38cba17fe64b1b7f 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=utf-8 Content-Transfer-Encoding: quoted-printable This series fixes a schedule lifetime race in `act_gate` between the control-plane replace path and the running hrtimer callback (`gate_timer_func`). Changes since v6: - revert gate_start_timer() - added explicit chain_put: label before release_idr: - kzalloc failure path changed from goto release_idr to goto chain_put - formatting only: blankline cleanup for readability, no behavior change Paul Moses (1): net/sched: act_gate: snapshot parameters with RCU on replace include/net/tc_act/tc_gate.h | 33 ++++- net/sched/act_gate.c | 265 +++++++++++++++++++++++++---------- 2 files changed, 215 insertions(+), 83 deletions(-) --=20 2.53.0