From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796288869; b=XZ95Ha/tb+0PB/e+sGp7WAFWZ3HGEoHeU/s4gLUlG2CF825G5ZwZ1a7ZsyWNi6sNqtJF gtUtGk0dunCEV+ZLF+mg5oTQoCidAlDfxRgWyb/qA7UK/m9e9Rg66sA+6QDolV3qPpjLS UhJLQHsQxO+bYNIOnr/j+3iighLyh2TBzi3YGdgq0/vuQ37SSCfVClFnIUTiWL7Wx4q2u 2HiOxmxXiA5AdL6OEK4w5/QKeaijjNP4oCRuN/Eap99lXu+IabPW34f/6cr83mfXPTb+R rzmIGeGaO7faYw2E6sNXPCLeM/MoAGFrBZxcN+e5UTAi5+Qe4qmxiRHTt380sLTjy5g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796288869; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Message-ID:Date: MIME-Version:User-Agent:Reply-To:Subject:To:Cc:References:From: Content-Language:Organization:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=yc9osb/dl/zO7RtuBIgOrQ7lEr3giS8SSM36Q1o4oK0=; b=Xli8hnNoEauWsSklmMohbkPT2SNfkXMMTB/W8sfDBWRudOXM7olB5VTB4FrCyoGCbvV4 Wy9OEI/JXhCTizTlint1uaa+2lPVsaRSt+W5DvNGHc1//GPRb3x7h01jetMSg4Q8WsDG3 zM5K0KrgXWNjH+D4cWnrRUAaRut+9VlVqeRIK8s1REr+y4+In39byxUVodE75oZShQtND 3FJfAzZE29Od/E82C3cM6Jhibd11LKY9BDFq0TKlzmbN7pHEK1L+0KEXWmsPbSYNyfxTN n776I0eJPS2ONR56lrhj0W9d2ck9g4RCJ87v8zN8ETI9Sz1phT8CUxu8+MrZgSCP0vw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=6wind.com; spf=pass smtp.mailfrom=6wind.com; dkim=pass header.d=6wind.com header.i=@6wind.com header.a=rsa-sha256 header.s=google header.b=OLrXu7ws; arc=none smtp.remote-ip=209.85.128.42 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1E31606A322 for ; Thu, 3 Dec 2026 09:07:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A1E31606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=6wind.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=6wind.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=6wind.com header.i=@6wind.com header.a=rsa-sha256 header.s=google header.b=OLrXu7ws Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4bb72b6e1b2so11993165e9.2 for ; Thu, 03 Dec 2026 01:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1796288867; x=1796893667; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:organization :content-language:from:references:cc:to:subject:reply-to:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to:content-type; bh=yc9osb/dl/zO7RtuBIgOrQ7lEr3giS8SSM36Q1o4oK0=; b=OLrXu7ws3pqKagYMY8v0PvM8m1xfc/emoIYobXonsLkw1gDmjwzCYSQEa10tT7boWq EYlUGELcnK9ryvR1oXCzPJje+E7+NLJvx+9GA/ceO2gIzhMp2yOU9zPnm3ddGYw+Dfc3 19o2t4dE0FWF9ub4v7hg20wj0P/hEnJxgQvd2qECWLvzCdvo+rPV+0y7eGE0PswB66Ul 3Fblw+mno+MR8X+b8B1rfIPkfrLSM56HuaFV78/Pnhblx9QxjA217+Gwlu+k1cJnNn3E Qu+f84tsqFLMSCngMp9Bz+le2A4Sogv7d5yC6hJ3645ChkQRFuP214dTxxICQg+JyfeW ZqMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796288867; x=1796893667; h=content-transfer-encoding:content-type:in-reply-to:organization :content-language:from:references:cc:to:subject:reply-to:user-agent :mime-version:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=yc9osb/dl/zO7RtuBIgOrQ7lEr3giS8SSM36Q1o4oK0=; b=wc3kQ1dBWXH0T4Z4Y+WV2qhYz3CeTkjxvJeoVzpQus7bX58q0ZReIVgd94i+zYrtZC AEJ2ZnooOhKHHphNi+d5OBRns54gPdjdX/QsncvENo/IefLyi1ECuednfv65AiC15AzP sTJKdnyOZWblCO5F7KCDwyZttVkjhcnk6kkh8Lg/sc1HGx164oO4uF0kCpeZD2lsNWgC 66kV/6HTXkbJntRUoJAjiYBScskJLV3Km83nanyy7/mWdQhXSMH03S0uqWXX4t7+o6om IUeDuAGlqEquiqrzkgaCODKBNujqsbHo3ZUIHMuzE9HNY8y1mzsj6gphZXcDudUOxxP9 8OzQ== X-Gm-Message-State: APuU4Z98dDsBhDhReDOC3GuJU8zhnWfkOgtfVaSw62L+Z1nblL/KD3kZ 56QAUNEd78DqOlXPOyvVqu9pw7NKmLK+k3XJcY2aKup+Bgp6d/4uwQZNu6FLuMePMVE= X-Gm-Gg: AZFdTZcrSIVfQg3yPjKyfykXMGmXlg20VmMSBq+jH1ZbvBgx0oy1OZS5DvOtyLiFqeZ 8gi+u1Eb0EIlsy7HOCQFMXlFyPZMiU4xrMHHGKfCWnHjIY7pn1uA9PLfkojbiUO79zZFIBoYXEL z2hiI1QLpMCMJ8RjXA2ujegn2eCNryXx/aaUtlzFXXEOrQnMavKU5erwCTo7AYrCcSw10B/1ckG 1j1FVNIYEbRjrFfI/ZbrZaDnuMPmJOiFH3fKJVkFk26zhpOp0Bd8GCur/7sBfg2hYItlaAZmJyS Zk+5eFNgNI3w42Mr1ZfJxRWVxkcUNbD0K1yeHCHt5k7mdAg01ZblfhLD4JUo1M14Jv+mBKKjQgc N1fpd6EFFIXgRArLaJVfxEwip4PTAyPh9qY2NAzPWCaX64IysagGuuukdE0LDU+U/O/OIHDeg5L URhI+sHyKSXuCfPZIAHcqPL8zrnc3uQ40Yvbz55zmWraTwyxKJrVocawfAnIthoE1m5UgkCSRmX 7a4jbqLG97+6yAjYfSzAb1K3eA8ihy8537gjnjGejtpnkXT1deKBC4voyQzkLBicCGGUose2q7A IthtqVbDy5/zqRhaxpFSbLKmEt19f68eyeB/N0KOguiu0GYSSjJwo9tVX590qNv7TcX/Ux89s/V cuhOO X-Received: by 2002:a05:600c:a105:b0:4bb:bf7e:e264 with SMTP id 5b1f17b1804b1-4bbe2e64accmr11829535e9.2.1796288866953; Thu, 03 Dec 2026 01:07:46 -0800 (PST) Received: from ?IPV6:2a01:e0a:ab7:2110:6a1d:efff:fe52:1959? ([2a01:e0a:ab7:2110:6a1d:efff:fe52:1959]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbe0030c6fsm63830885e9.2.2026.12.03.01.07.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 01:07:46 -0800 (PST) Message-ID: Date: Thu, 3 Dec 2026 10:07:45 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: nicolas.dichtel@6wind.com Subject: Re: [PATCH net] selftests: net: nl_genl_mcast: unload drop_monitor if already loaded To: "Matthieu Baerts (NGI0)" , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , Simon Horman , Shuah Khan , Anil Kaushik Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20261202-net-genetlink-sft-skip-v1-1-87cb0f64d522@kernel.org> From: Nicolas Dichtel Content-Language: en-US Organization: 6WIND In-Reply-To: <20261202-net-genetlink-sft-skip-v1-1-87cb0f64d522@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le 02/12/2026 à 16:41, Matthieu Baerts (NGI0) a écrit :> The bind_before_family subtest is skipped when the NET_DM family is > already registered. > > On the netdev CI, this happens each time nl_genl_mcast.py is executed > from the same VM after drop_monitor_tests.sh, which loads the > drop_monitor module via dwdump, and does not unload it. > > Instead of skipping, try to unload drop_monitor first, and only skip if > NET_DM is still registered after that, e.g. when it is built-in or in > use. The subtest already unloads the module at the end. With this change, the test now unloads a drop_monitor module that was loaded by someone else, and does not load it again afterwards. This is fine on NIPA, but on a developer machine where drop_monitor was loaded on purpose, the test leaves the system in a different state. Would it be worth loading it again at the end when it was registered before the test? If not, maybe the commit log could say that this is acceptable. Anyway, the fix LGTM: Reviewed-by: Nicolas Dichtel Regards, Nicolas