From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71E1A38BF89 for ; Wed, 3 Jun 2026 06:18:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780467492; cv=none; b=OzmWF4sFK43vVfSyhSePlQOFH2rmKCkp7/q/lvg8oU8lUD4Q6CNgqYgBEx5xSQ83ngfxfgOMVTbRLdBQEoXttLz0VatR86GZMnP6KTPlNmbve6hjdEczRr68FpmHeGb0f2OZ6Ft/YdJJH68NFxTePT7MEsFZgQ5Nbg0TJpvqRqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780467492; c=relaxed/simple; bh=igLi0aFoIR8oOPtljlYZro0h7CIA1d9Odeoh220PwZw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TwBILOjLZ7Mvk1E0M9/hWjEle8ej7S37sMiw6S9FK8q2sTGpVc8FZKRl4FOKBryQBRz44IjDJ8gDLAKGP8Z6XmNWaAPMpTtzUgSfAdLc+yFnOQy6i9NFLTmLbr36hU9nRZi/0a5AqXYDf6bKHvhOVnVzXPbtB999FQM9U77lbbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=bpzC9ZIO; arc=none smtp.client-ip=95.215.58.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="bpzC9ZIO" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1780467477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=d4V0CNKpI15eY3bq0nYf9RGoV7ytpy50VKiOWNIpJgQ=; b=bpzC9ZIOM3QPg7VNwMnc84WZLdWNo3xVDuFgBhS5IkRTbD7lg9wbbMT3O6QX7G9xW6F3pF eiwJEPvdewTqfZaiskbrMtpNfH9tve5TGKpxvYwqO7NOfq7xBAQATSDVB6qtSdOmrb0O4E 50eNlLQ25KVQto/DnZoISegdndDtxR4= From: Qingfang Deng To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Shuah Khan , Qingfang Deng , linux-ppp@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Matthieu Baerts Subject: [PATCH net-next] selftests: net: do not detect PPPoX loopback Date: Wed, 3 Jun 2026 14:17:44 +0800 Message-ID: <20260603061746.23452-1-qingfang.deng@linux.dev> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 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 Fixes: 7af2a94f4dcf ("selftests: net: add tests for PPPoL2TP") Signed-off-by: Qingfang Deng --- tools/testing/selftests/net/ppp/pppoe-server-options | 1 + 1 file changed, 1 insertion(+) 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 -- 2.43.0