diff options
author | Ido Schimmel <idosch@nvidia.com> | 2025-09-08 10:32:37 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-09-11 12:22:38 +0200 |
commit | 2e6428100b1613d85d5442c14ee18c5a47054daf (patch) | |
tree | 6ab8bf4345762f697f0c9b06ccb99aa251d85144 /rust/kernel/workqueue.rs | |
parent | 5c9c78224fc3045c8ffe1a4c7d25d277e2e02b7b (diff) |
selftests: traceroute: Test traceroute with different source IPs
When generating ICMP error messages, the kernel will prefer a source IP
that is on the same subnet as the destination IP (see
inet_select_addr()). Test this behavior by invoking traceroute with
different source IPs and checking that the ICMP error message is
generated with a source IP in the same subnet.
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20250908073238.119240-8-idosch@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions