selftests: net: add test for variable PMTU in broadcast routes
authorOscar Maes <oscmaes92@gmail.com>
Thu, 10 Jul 2025 14:27:14 +0000 (16:27 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Jul 2025 00:29:41 +0000 (17:29 -0700)
commit5777d1871bf69d435e57e639fcf132d2d0c00883
tree72ff39d241a2fdca10581acfaefeaa5d9a2dbd57
parent9e30ecf23b1b8f091f7d08b27968dea83aae7908
selftests: net: add test for variable PMTU in broadcast routes

Added a test for variable PMTU in broadcast routes.

This test uses iputils' ping and attempts to send a ping between
two peers, which should result in a regular echo reply.

This test will fail when the receiving peer does not receive the echo
request due to a lack of packet fragmentation.

Signed-off-by: Oscar Maes <oscmaes92@gmail.com>
Link: https://patch.msgid.link/20250710142714.12986-2-oscmaes92@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/broadcast_pmtu.sh [new file with mode: 0755]