]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drv-net: hds: restore hds settings
authorJakub Kicinski <kuba@kernel.org>
Mon, 25 Aug 2025 17:59:39 +0000 (10:59 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 27 Aug 2025 00:35:10 +0000 (17:35 -0700)
commitee3ae27721fb994ac0b4705b5806ce68a5a74c73
tree86c1fd37839fbf166622b236c7513c3c5574193a
parent1bec9d0c0046fe4e2bfb6a1c5aadcb5d56cdb0fb
selftests: drv-net: hds: restore hds settings

The test currently modifies the HDS settings and doesn't restore them.
This may cause subsequent tests to fail (or pass when they should not).
Add defer()ed reset handling.

Link: https://patch.msgid.link/20250825175939.2249165-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hds.py