[PATCH] selftests/bpf: use swap() to make code cleaner