Hi Nicolas,
On 03/12/2026 10:07, Nicolas Dichtel wrote:
> 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.
Agreed: it would be better to reload the drop_monitor module if it was
loaded before this script.
Here, the fix is small, for -net, just to fix the regression on NIPA,
and keeping the prerequisite that the module can be loaded. People
annoyed by this prerequisite can change it by sending a patch to -next :)
> Anyway, the fix LGTM:
> Reviewed-by: Nicolas Dichtel <nico…@6wind.com>
Merci!
Cheers,
Matt