diff options
author | Jakub Sitnicki <[email protected]> | 2019-10-17 10:37:52 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-10-17 12:10:16 -0700 |
commit | 8d285a3b2e83796d33ec3674b25fe0bfcc647e92 (patch) | |
tree | 26492fd29d589dbb6100e262bda1b2dedc10f711 /kernel/bpf/syscall.c | |
parent | 0142fdc8186ea15e0bff03422ddc7d23b2e71dfc (diff) |
selftests/bpf: Restore the netns after flow dissector reattach test
flow_dissector_reattach test changes the netns we run in but does not
restore it to the one we started in when finished. This interferes with
tests that run after it. Fix it by restoring the netns when done.
Fixes: f97eea1756f3 ("selftests/bpf: Check that flow dissector can be re-attached")
Reported-by: Alexei Starovoitov <[email protected]>
Reported-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Jakub Sitnicki <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions