diff options
| author | Dimitri Daskalakis <dimitri.daskalakis1@gmail.com> | 2026-02-25 01:46:58 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-26 06:42:02 +0300 |
| commit | b0249c0d41b306ddd79de58ca7fea543ab5e7a2e (patch) | |
| tree | 61e9815557564e17a6e1af4df2a5ac8a033753ef /scripts/Makefile.package | |
| parent | 2cd63825c7c6105bc298474fbb073d25f48114cf (diff) | |
| download | linux-b0249c0d41b306ddd79de58ca7fea543ab5e7a2e.tar.xz | |
selftests: net: py: Add rand_ports helper method
Certain tests need a unique set of ports. Successive calls to the
existing rand_port method may return a duplicate port, resulting in test
flakiness. The new helper keeps sockets open while building a list of
ephemeral ports, thus the kernel enforces their uniqueness.
Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Link: https://patch.msgid.link/20260224224659.1507082-2-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.package')
0 files changed, 0 insertions, 0 deletions
