diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2020-05-22 08:26:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-23 00:00:38 +0300 |
commit | 8590ceedb70181ad9de5a3dc2cfe50ca33a9576a (patch) | |
tree | 5d5482f0ba9d5b738c13663e5e82fd7ad6e02bbe /include/net/netns | |
parent | 1274e1cc42264d4e629841e4f182795cb0becfd2 (diff) | |
download | linux-8590ceedb70181ad9de5a3dc2cfe50ca33a9576a.tar.xz |
nexthop: add support for notifiers
This patch adds nexthop add/del notifiers. To be used by
vxlan driver in a later patch. Could possibly be used by
switchdev drivers in the future.
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/nexthop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/nexthop.h b/include/net/netns/nexthop.h index c712ee5eebd9..1937476c94a0 100644 --- a/include/net/netns/nexthop.h +++ b/include/net/netns/nexthop.h @@ -14,5 +14,6 @@ struct netns_nexthop { unsigned int seq; /* protected by rtnl_mutex */ u32 last_id_allocated; + struct atomic_notifier_head notifier_chain; }; #endif |