]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftest: tun: Refactor tun_delete to use tuntap_helpers
authorXu Du <xudu@redhat.com>
Wed, 21 Jan 2026 10:04:57 +0000 (18:04 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 19:43:28 +0000 (11:43 -0800)
commit82cfdcfa201057861ec8a60ca9354d2c4c67bd68
treec4caa45d5ab8db748a4920d71a8ba2a2d9387837
parenta942fcd72e9736a0c49b60160f29dc5bb01d6f89
selftest: tun: Refactor tun_delete to use tuntap_helpers

The previous patch introduced common tuntap helpers to simplify
tun test code. This patch refactors the tun_delete function to
use these new helpers.

Signed-off-by: Xu Du <xudu@redhat.com>
Link: https://patch.msgid.link/ecc7c0c2d75d87cb814e97579e731650339703ab.1768979440.git.xudu@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/tun.c