Re: [PATCH] net-shapers: free rollback entries using kfree_rcu
From: Paul Moses
Date: Wed Apr 01 2026 - 08:40:54 EST
> I noticed this patch
> https://patchwork.kernel.org/project/netdevbpf/patch/20260309173450.538026-1-p@xxxxxxx/,
> but it seems that there is no further progress on it.
> Please experiment and return once you are sure.
> netdevsim (netdev simulator) driver supports net_shapers, so you can
> easily exercise this code in a VM.
>
Unfortunately in the case of shaper.c, netdevsim only implemented stubs
that return 0, so it's a not a 1:1 representation of the physical drivers.
The rollback path specifically is not reliably reachable with netdevsim,
whereas it looks like a proper trigger with real hardware.