summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorWei Wang2017-10-06 21:05:56 +0200
committerDavid S. Miller2017-10-07 22:22:57 +0200
commit180ca444b985c42948fa26abd278e616b5ce7eb2 (patch)
tree16d38f12c42cf71c0e38aaf052701645b7b1abf0 /include/net/ip6_fib.h
parentbnxt_en: don't consider building bnxt_tc.o if option not enabled (diff)
downloadkernel-qcow2-linux-180ca444b985c42948fa26abd278e616b5ce7eb2.tar.gz
kernel-qcow2-linux-180ca444b985c42948fa26abd278e616b5ce7eb2.tar.xz
kernel-qcow2-linux-180ca444b985c42948fa26abd278e616b5ce7eb2.zip
ipv6: introduce a new function fib6_update_sernum()
This function takes a route as input and tries to update the sernum in the fib6_node this route is associated with. It will be used in later commit when adding a cached route into the exception table under that route. Signed-off-by: Wei Wang <weiwan@google.com> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Eric Dumazet <edumazet@google.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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index d060d711a624..152b7b14a5a5 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -358,6 +358,8 @@ void __net_exit fib6_notifier_exit(struct net *net);
unsigned int fib6_tables_seq_read(struct net *net);
int fib6_tables_dump(struct net *net, struct notifier_block *nb);
+void fib6_update_sernum(struct rt6_info *rt);
+
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
int fib6_rules_init(void);
void fib6_rules_cleanup(void);