]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'add-selftests-helper-to-get-n-unique-ports'
authorJakub Kicinski <kuba@kernel.org>
Thu, 26 Feb 2026 03:42:05 +0000 (19:42 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 26 Feb 2026 03:42:06 +0000 (19:42 -0800)
commitc7f5c6fb0f2b1a44490a36582a251f0a304d6b0c
tree91fe587ca8e6df0e9d4deb6876d5ba31058a5bf5
parent2cd63825c7c6105bc298474fbb073d25f48114cf
parent19c3a2a81d2bca7ca2187ea3686c4bdfd147115b
Merge branch 'add-selftests-helper-to-get-n-unique-ports'

Dimitri Daskalakis says:

====================
Add selftests helper to get N unique ports

The rss_ctx.py tests would occasionally flake. I found that the successive
calls to rand_port would occasionally return duplicate ports, breaking the
tests invariants.

Add a new helper that guarantees generated ports are unique.
====================

Link: https://patch.msgid.link/20260224224659.1507082-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>