]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: py: capitalize defer queue and improve import
authorJakub Kicinski <kuba@kernel.org>
Thu, 8 Jan 2026 22:52:56 +0000 (14:52 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Jan 2026 23:11:59 +0000 (15:11 -0800)
commit799a4912eea74c667da1c8167f93bf2d1508a89e
tree42e7f392445c26121ed9eb126a4a4f7ebbf94958
parentde7c600e2d5b501c0c04bde8ebab89ac5888a69f
selftests: net: py: capitalize defer queue and improve import

Import utils and refer to the global defer queue that way instead
of importing the queue. This will make it possible to assign value
to the global variable. While at it capitalize the name, to comply
with the Python coding style.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20260108225257.2684238-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/lib/py/ksft.py
tools/testing/selftests/net/lib/py/utils.py