Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ip_frag_tuner: tunables are not namespaced
cannot be set in a non-global ns

Signed-off-by: Alan Maguire <[email protected]>
  • Loading branch information
alan-maguire committed Nov 28, 2024
commit 87d9e47fb4b4bc0070d80843254a7a7db788ad6f
4 changes: 2 additions & 2 deletions src/ip_frag_tuner.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ struct tcp_buffer_tuner_bpf *skel;

static struct bpftunable_desc descs[] = {
{ IP_FRAG_MAX_THRESHOLD, BPFTUNABLE_SYSCTL, "net.ipv4.ipfrag_high_thresh",
BPFTUNABLE_NAMESPACED, 1 },
0, 1 },
{ IP6_FRAG_MAX_THRESHOLD, BPFTUNABLE_SYSCTL, "net.ipv6.ip6frag_high_thresh",
BPFTUNABLE_NAMESPACED | BPFTUNABLE_OPTIONAL, 1 },
BPFTUNABLE_OPTIONAL, 1 },
};

static struct bpftunable_scenario scenarios[] = {
Expand Down