diff options
| author | Ido Schimmel <[email protected]> | 2025-07-17 12:51:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-19 00:22:40 +0000 |
| commit | 25250f40e2a9cade7ef294af8bee0b2bd0afca2d (patch) | |
| tree | 049a7818307eeb19bbd5378905b706523e102fa0 /net/core/dev_ioctl.c | |
| parent | net: selftests: add PHY-loopback test for bad TCP checksums (diff) | |
| download | kernel-25250f40e2a9cade7ef294af8bee0b2bd0afca2d.tar.gz kernel-25250f40e2a9cade7ef294af8bee0b2bd0afca2d.zip | |
selftests: rtnetlink: Add operational state test
Virtual devices (e.g., VXLAN) that do not have a notion of a carrier are
created with an "UNKNOWN" operational state which some users find
confusing [1].
It is possible to set the operational state from user space either
during device creation or afterwards and some applications will start
doing that in order to avoid the above problem.
Add a test for this functionality to ensure it does not regress.
[1] https://lore.kernel.org/netdev/[email protected]/
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[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/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions
