Re: [PATCH v2 2/2] selftests: net: add act_nat ICMP inner checksum test

Jakub Kicinski
2026-04-04T18:01:31Z

On Sat, 4 Apr 2026 13:03:10 +0100 David Carlier wrote:
> Verify that act_nat correctly updates the inner IP header
> checksum when rewriting addresses inside ICMP error payloads.
>
> The test sets up two namespaces with act_nat on a veth pair,
> triggers an ICMP destination unreachable, and validates the
> inner IP header checksum in the received ICMP error.
>
> Signed-off-by: David Carlier <devnexen@gmail.com>
> ---
> tools/testing/selftests/net/Makefile | 1 +

you need to add the CONFIG* dependencies to the relevant config file.