diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-09-05 21:06:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-07 18:28:22 +0300 |
commit | 3dd97a08271f031bd54c61e65b6b0ebfb0c404b7 (patch) | |
tree | 37a3455db84c070853c6d1fd6adb6de1a4e440ef /include/net | |
parent | 9b789f476eca4b95f9cc7dc7926a30ad12f17017 (diff) | |
download | linux-3dd97a08271f031bd54c61e65b6b0ebfb0c404b7.tar.xz |
net: fib_notifier: move fib_notifier_ops from struct net into per-net struct
No need for fib_notifier_ops to be in struct net. It is used only by
fib_notifier as a private data. Use net_generic to introduce per-net
fib_notifier struct and move fib_notifier_ops there.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/net_namespace.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index ab40d7afdc54..64bcb589a610 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -103,9 +103,6 @@ struct net { /* core fib_rules */ struct list_head rules_ops; - struct list_head fib_notifier_ops; /* Populated by - * register_pernet_subsys() - */ struct net_device *loopback_dev; /* The loopback */ struct netns_core core; struct netns_mib mib; |