diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-11-23 23:08:29 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-11-23 23:38:16 +0300 |
commit | 8ac88eece8009428e2577c345080a458e4507e2f (patch) | |
tree | 2aedeb13f193ba4d28acb3bbd94e8e15f48e551b /Documentation/bpf | |
parent | 2fcc6081a7bf8f7f531cffdc58b630b822e700a1 (diff) | |
download | linux-8ac88eece8009428e2577c345080a458e4507e2f.tar.xz |
selftests/bpf: Mount debugfs in setns_by_fd
Jiri reports broken test_progs after recent commit 68f8e3d4b916
("selftests/bpf: Make sure zero-len skbs aren't redirectable").
Apparently we don't remount debugfs when we switch back networking namespace.
Let's explicitly mount /sys/kernel/debug.
0: https://lore.kernel.org/bpf/63b85917-a2ea-8e35-620c-808560910819@meta.com/T/#ma66ca9c92e99eee0a25e40f422489b26ee0171c1
Fixes: a30338840fa5 ("selftests/bpf: Move open_netns() and close_netns() into network_helpers.c")
Reported-by: Jiri Olsa <olsajiri@gmail.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20221123200829.2226254-1-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/bpf')
0 files changed, 0 insertions, 0 deletions