Skip to content
Commit d38722b0 authored by Jakub Sitnicki's avatar Jakub Sitnicki Committed by Paul Gortmaker
Browse files

selftests/bpf, flow_dissector: Close TAP device FD after the test

commit b8215dce upstream.

test_flow_dissector leaves a TAP device after it's finished, potentially
interfering with other tests that will run after it. Fix it by closing the
TAP descriptor on cleanup.

Fixes: 0905beec

 ("selftests/bpf: run flow dissector tests in skb-less mode")
Signed-off-by: default avatarJakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200531082846.2117903-11-jakub@cloudflare.com
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 5328bb60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment