]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/xsk: Fix double free
authorMagnus Karlsson <magnus.karlsson@intel.com>
Thu, 29 Sep 2022 09:01:33 +0000 (11:01 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Sep 2022 22:42:37 +0000 (15:42 -0700)
commit9f10033991bb0363ac1a9bde27b12dad642a1a7c
treee74aa06dd34af9e981e603ae3d85c77550ef31e3
parenta47f44656bebbc526637a982843530c415fee393
selftests/xsk: Fix double free

Fix a double free at exit of the test suite.

Fixes: 9f5d4d46e38a ("selftests/xsk: Add support for executing tests on physical device")
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/bpf/20220929090133.7869-1-magnus.karlsson@gmail.com
tools/testing/selftests/bpf/xskxceiver.c