diff options
| author | 2026-10-01 22:33:58 -0400 | |
|---|---|---|
| committer | 2026-10-07 17:11:14 -0700 | |
| commit | 2dcf7c1af6896fc28e4197141580e45e98d3f6cb (patch) | |
| tree | 481e1ba2bd656c56e7bce00130e7d90d1a82e3ab /scripts/Makefile.thinlto | |
| parent | macsec: check the resolved SCI for duplicates (diff) | |
selftests: net: test MACsec undefined SCI uniqueness
Exercise duplicate transmit SCI rejection using default, explicit and
all-ones SCI requests on the same lower device. Cover an all-ones request
for both the first and second device, and clean up the second device if
a kernel incorrectly accepts the duplicate.
Also verify that an all-ones SCI still resolves to the default when a
different port is already in use, and that deleting the device makes
its SCI available for reuse.
These cases cover the duplicate acceptance flagged by Sashiko during
review of an earlier MACsec initialization fix. The same tests produce
five passes and two failures before the fix, and seven passes after it.
Check local iproute2 MACsec support before running the new tests. Keep
the existing local and remote checks for callers supplying a configuration,
without requiring remote or offload support for the new local tests.
Link: https://lists.openwall.net/netdev/2026/09/16/11
Signed-off-by: Haseeb Malik <haseebulhaq55@gmail.com>
Link: https://patch.msgid.link/20261001-fix-macsec-duplicate-sci-v3-2-0f179fbe1f2d@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
