Re: [PATCH net-next] selftests: net: Skip test if IPv6 is not configured
From: Jakub Kicinski
Date: Thu Jul 24 2025 - 21:24:38 EST
On Wed, 23 Jul 2025 10:35:06 -0700 Breno Leitao wrote:
> Extend the `check_for_dependencies()` function in `lib_netcons.sh` to check
> whether IPv6 is enabled by verifying the existence of
> `/proc/net/if_inet6`. Having IPv6 is a now a dependency of netconsole
> tests. If the file does not exist, the script will skip the test with an
> appropriate message suggesting to verify if `CONFIG_IPV6` is enabled.
>
> This prevents the test to misbehave if IPv6 is not configured.
IDK. I think this is related to some of the recent patches?
The context would be helpful in the commit message.
Otherwise, as networking people, I think we are obligated
to respond with hostility to "IPv6 may not be enabled"..
--
pw-bot: cr