summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-05-22 12:04:40 -0700
committerDavid S. Miller <davem@davemloft.net>2019-05-22 17:48:43 -0700
commitcdaa16a4f70cfa6c55641588c3a3eb9b53abd56b (patch)
treeb834411fd1c1e6ea1d0556e7c96522c8121b5933 /include/net/ip6_fib.h
parent68a9b13d9219a52cd272bd8e93f7fdfd1c22eba1 (diff)
downloadlinux-cdaa16a4f70cfa6c55641588c3a3eb9b53abd56b.tar.gz
linux-cdaa16a4f70cfa6c55641588c3a3eb9b53abd56b.tar.bz2
linux-cdaa16a4f70cfa6c55641588c3a3eb9b53abd56b.zip
ipv6: Add hook to bump sernum for a route to stubs
Add hook to ipv6 stub to bump the sernum up to the root node for a route. This is needed by the nexthop code when a nexthop config changes. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r--include/net/ip6_fib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 525f701653ca..d038d02cbc3c 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -485,6 +485,7 @@ int fib6_tables_dump(struct net *net, struct notifier_block *nb);
void fib6_update_sernum(struct net *net, struct fib6_info *rt);
void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt);
+void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i);
void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val);
static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric)