Re: [PATCH net v4 2/2] bpf: selftests: send packet to devmap redirect XDP

From: Toke Høiland-Jørgensen
Date: Wed Sep 11 2024 - 05:28:15 EST


Florian Kauer <florian.kauer@xxxxxxxxxxxxx> writes:

> The current xdp_devmap_attach test attaches a program
> that redirects to another program via devmap.
>
> It is, however, never executed, so do that to catch
> any bugs that might occur during execution.
>
> Also, execute the same for a veth pair so that we
> also cover the non-generic path.
>
> Warning: Running this without the bugfix in this series
> will likely crash your system.
>
> Signed-off-by: Florian Kauer <florian.kauer@xxxxxxxxxxxxx>

Reviewed-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>