diff options
| author | Breno Leitao <[email protected]> | 2025-07-23 17:35:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-25 18:25:34 +0000 |
| commit | 5ec9b15d8dfa4992c6f9c26c1f96e69202d8fcb1 (patch) | |
| tree | 0401ca1e75217e9532733c6769dc5e7f6a45966f /net/mptcp/protocol.c | |
| parent | usbnet: Set duplex status to unknown in the absence of MII (diff) | |
| download | kernel-5ec9b15d8dfa4992c6f9c26c1f96e69202d8fcb1.tar.gz kernel-5ec9b15d8dfa4992c6f9c26c1f96e69202d8fcb1.zip | |
selftests: net: Skip test if IPv6 is not configured
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.
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mptcp/protocol.c')
0 files changed, 0 insertions, 0 deletions
