On Thu, Sep 25, 2025 at 07:31:55PM +0200, Petr Machata wrote:
Most forwarding tests invoke forwarding_enable() to enable the router and forwarding_restore() to restore the original configuration. Add a helper, adf_forwarding_enable(), which is like forwarding_enable(), but takes care of scheduling the cleanup automatically.
Convert the tests that currently use defer to schedule the cleanup.
Signed-off-by: Petr Machata petrm@nvidia.com
Reviewed-by: Simon Horman horms@kernel.org