Re: [PATCH net-next] selftests: forwarding: vxlan_reserved: drop redundant in_defer_scope

From: Petr Machata

Date: Tue Nov 10 2026 - 10:55:01 EST


Hannes Laimer <h.laimer@xxxxxxxxxxx> writes:

> With commit a6e263f125cd ("selftests: net: lib: Introduce deferred
> commands") tests_run() already runs every test in its own defer scope.
> So the per-test in_defer_scope here does not do anything. Drop the
> in_defer_scope calls and the wrappers that only exist for that.
>
> Suggested-by: Petr Machata <petrm@xxxxxxxxxx>
> Link: https://lore.kernel.org/all/875wyo6b7d.fsf@xxxxxxxxxxxx/
> Signed-off-by: Hannes Laimer <h.laimer@xxxxxxxxxxx>

Thanks!

Reviewed-by: Petr Machata <petrm@xxxxxxxxxx>