[SRU][Lunar][PATCH v2 0/3] Fix udpgro_frglist.sh kernel selftest

Andrei Gherzan andrei.gherzan at canonical.com
Thu Feb 9 11:26:13 UTC 2023


Buglink: https://bugs.launchpad.net/bugs/1996536
Buglink: https://bugs.launchpad.net/bugs/2000708

SRU Justification:

[Impact]

* The udpgro_frglist.sh was failing due to not being able to find a
dependency: nat6to4. This dependency was broken upstream due to
where it gets compiled but also disabled by us in lp:1996536 for lack of
CC support.

[Fix]

* This series backports a couple of patches fixing the expected location
of nat6to4 for udpgro_frglist.sh and also adding CC support for nat6to4.
* All patches apply cleanly (with some fuzz) except
3c107f36db061603bee7564fbd6388b1f1879fd3 which requires minimum context
changes due to tests changes in the net Makefile.

[Test Plan]

* These patches were tested by building the kernel, the tests
required for udpgro_frglist.sh and running the test successfully in a
clean VM.

[Where problems could occur]

* The regression can be considered as low, since it would affect only
some tests.

v2:
* fix dangling line from a patch apply conflict

björn töpel (2):
  selftests: net: add cross-compilation support for bpf programs
  selftests: net: fix o=dir builds

hangbin liu (1):
  selftests/net: mv bpf/nat6to4.c to net folder

 tools/testing/selftests/net/makefile          | 50 ++++++++++++++++++-
 tools/testing/selftests/net/bpf/makefile      | 45 +++++++++++++++--
 .../testing/selftests/net/{bpf => }/nat6to4.c |  0
 tools/testing/selftests/net/udpgro_frglist.sh |  8 +--
 4 files changed, 93 insertions(+), 10 deletions(-)
 rename tools/testing/selftests/net/{bpf => }/nat6to4.c (100%)

-- 
2.34.1




More information about the kernel-team mailing list