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)
commit5f388bba7acbdb097a9e7ed932a39b40f7eb2acf
treee74aa06dd34af9e981e603ae3d85c77550ef31e3
parent3ca2fb497440a3c8294f9df0ce7b2c3c9a1c5875
selftests/xsk: Fix double free

Fix a double free at exit of the test suite.

Fixes: a693ff3ed561 ("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