OSDN Git Service

selftest: tun: add test for NAPI dismantle
authorJakub Kicinski <kuba@kernel.org>
Wed, 29 Jun 2022 18:19:11 +0000 (11:19 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Jun 2022 18:34:10 +0000 (11:34 -0700)
commit839b92fede7ba308f1a475aa00fea55f63b7fccf
treedfa28be74cb630b8370038ab96dc214457726d6d
parentff1fa2081d173b01cebe2fbf0a2d0f1cee9ce4b5
selftest: tun: add test for NAPI dismantle

Being lazy does not pay, add the test for various
ordering of tun queue close / detach / destroy.

Link: https://lore.kernel.org/r/20220629181911.372047-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/tun.c [new file with mode: 0644]