mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
ip6mr: Define net->ipv6.{ip6mr_notifier_ops,ipmr_seq} under CONFIG_IPV6_MROUTE.
net->ipv6.ip6mr_notifier_ops and net->ipv6.ipmr_seq are used only in net/ipv6/ip6mr.c. Let's move these definitions under CONFIG_IPV6_MROUTE. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20260604224712.3209821-16-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
a4c9842172
commit
5499868699
|
|
@ -112,14 +112,14 @@ struct netns_ipv6 {
|
|||
struct list_head mr6_tables;
|
||||
struct fib_rules_ops *mr6_rules_ops;
|
||||
#endif
|
||||
struct fib_notifier_ops *ip6mr_notifier_ops;
|
||||
atomic_t ipmr_seq;
|
||||
struct mutex mfc_mutex;
|
||||
#endif
|
||||
atomic_t dev_addr_genid;
|
||||
atomic_t fib6_sernum;
|
||||
struct seg6_pernet_data *seg6_data;
|
||||
struct fib_notifier_ops *notifier_ops;
|
||||
struct fib_notifier_ops *ip6mr_notifier_ops;
|
||||
atomic_t ipmr_seq;
|
||||
int flowlabel_count;
|
||||
struct {
|
||||
struct hlist_head head;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user