ipv6: introduce a new function fib6_update_sernum()
authorWei Wang <weiwan@google.com>
Fri, 6 Oct 2017 19:05:56 +0000 (12:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Oct 2017 20:22:57 +0000 (21:22 +0100)
commit180ca444b985c42948fa26abd278e616b5ce7eb2
tree16d38f12c42cf71c0e38aaf052701645b7b1abf0
parent0d7b70e83642f01c451a52faa3908e7b054ff7c6
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>
include/net/ip6_fib.h
net/ipv6/ip6_fib.c