diff options
author | Ido Schimmel <idosch@nvidia.com> | 2025-07-17 15:51:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-18 17:22:40 -0700 |
commit | 25250f40e2a9cade7ef294af8bee0b2bd0afca2d (patch) | |
tree | 049a7818307eeb19bbd5378905b706523e102fa0 /net/unix/af_unix.c | |
parent | e7ce59d9205e3842d0931632372aaf9fb4d901cf (diff) |
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/20241119153703.71f97b76@hermes.local/
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250717125151.466882-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions