]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: add sysctl_ipv6_flowlabel group
authorEric Dumazet <edumazet@google.com>
Thu, 15 Jan 2026 09:41:34 +0000 (09:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 19 Jan 2026 17:56:42 +0000 (09:56 -0800)
commite82a347d92d14260d1e2cf121a25e0458b1abbf7
tree53489e37d3da91285ea72b7305c0768207cc05bf
parentb4e486e2c46f754a515571a8ca1238fa567396dd
ipv6: add sysctl_ipv6_flowlabel group

Group together following struct netns_sysctl_ipv6 fields:

- flowlabel_consistency
- auto_flowlabels
- flowlabel_state_ranges

After this patch, ip6_make_flowlabel() uses a single cache line to fetch
auto_flowlabels and flowlabel_state_ranges (instead of two before the patch).

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260115094141.3124990-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/netns/ipv6.h