Re: [PATCH 1/2] selftests: net: Fix missing nat6to4.o when running udpgro_frglist.sh

From: Andrei Gherzan
Date: Wed Jan 25 2023 - 16:18:21 EST


On Wed, Jan 25, 2023 at 05:08:44PM +0000, Andrei Gherzan wrote:
> From: Andrei <andrei.gherzan@xxxxxxxxxxxxx>
>
> The udpgro_frglist.sh uses nat6to4.o which is tested for existence in
> bpf/nat6to4.o (relative to the script). This is where the object is
> compiled. Even so, the script attempts to use it as part of tc with a
> different path (../bpf/nat6to4.o). As a consequence, this fails the script:
>
> Error opening object ../bpf/nat6to4.o: No such file or directory
> Cannot initialize ELF context!
> Unable to load program
>
> This change refactors these references to use a variable for consistency
> and also reformats two long lines.
>
> Signed-off-by: Andrei <andrei.gherzan@xxxxxxxxxxxxx>

I have sent a v2 that fixes SoB and From.

--
Andrei Gherzan