summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net
diff options
context:
space:
mode:
authorQingfang Deng <qingfang.deng@linux.dev>2026-06-03 14:17:44 +0800
committerJakub Kicinski <kuba@kernel.org>2026-06-05 17:29:40 -0700
commit2eb9a81a7f73fb2582192547915a6c87dcd59574 (patch)
tree882dafc9623d7ad1e995dbc8055316465be2de9c /tools/testing/selftests/net
parentb64f763b607426ac97e44b114f0b8844ac3b86dd (diff)
downloadlinux-next-2eb9a81a7f73fb2582192547915a6c87dcd59574.tar.gz
linux-next-2eb9a81a7f73fb2582192547915a6c87dcd59574.zip
selftests: net: do not detect PPPoX loopback
By default, pppd attempts to detect loopbacks on the underlying interface using a pseudo-randomly generated magic number and checks if the same value is received. The seed for the PRNG is a hash of hostname XOR current time XOR pid, which is likely to collide on NIPA, causing false positives. Disable magic number generation. Reported-by: Matthieu Baerts <matttbe@kernel.org> Fixes: 7af2a94f4dcf ("selftests: net: add tests for PPPoL2TP") Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev> Link: https://patch.msgid.link/20260603061746.23452-1-qingfang.deng@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net')
-rw-r--r--tools/testing/selftests/net/ppp/pppoe-server-options1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/ppp/pppoe-server-options b/tools/testing/selftests/net/ppp/pppoe-server-options
index 66c8c9d319e9..cd586be7061b 100644
--- a/tools/testing/selftests/net/ppp/pppoe-server-options
+++ b/tools/testing/selftests/net/ppp/pppoe-server-options
@@ -1,2 +1,3 @@
noauth
noipdefault
+nomagic