summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-09-05 20:06:56 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-07 17:28:22 +0200
commit3dd97a08271f031bd54c61e65b6b0ebfb0c404b7 (patch)
tree37a3455db84c070853c6d1fd6adb6de1a4e440ef /include/net
parentethernet: micrel: Use DIV_ROUND_CLOSEST directly to make it readable (diff)
downloadlinux-3dd97a08271f031bd54c61e65b6b0ebfb0c404b7.tar.xz
linux-3dd97a08271f031bd54c61e65b6b0ebfb0c404b7.zip
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.h3
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;