Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
On Mon, 12 Oct 2026 14:09:25 -0400 you wrote:
> tca_action_gd() builds actions[] with one tcf_action_get_1() per nested
> TCA_ACT_TAB entry. Each successful lookup takes its own reference to the
> resolved action, so repeated TCA_ACT_INDEX entries in one request yield
> the same pointer in multiple slots.
>
> For RTM_DELACTION, tcf_action_delete() then consumes two references per
> slot: one in tcf_action_put() and one in tcf_idr_delete_index(). A
> duplicate therefore drives the refcount to zero mid-walk -- the delete
> frees the action and removes its IDR slot -- and the next slot calls
> tcf_action_put() on the freed action:
>
> [...]
Here is the summary with links:
- [net,1/2,repost3] net/sched: act_api: reject duplicate actions in a batch
https://git.kernel.org/netdev/net/c/f67b3ed1308d
- [net,2/2,repost3] selftests: tc-testing: add duplicate action delete batch
test
https://git.kernel.org/netdev/net/c/044ad3c90d9d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html