diff options
author | 2019-05-22 12:04:39 -0700 | |
---|---|---|
committer | 2019-05-22 17:48:43 -0700 | |
commit | 68a9b13d9219a52cd272bd8e93f7fdfd1c22eba1 (patch) | |
tree | 1c85744270190e8516292dd9bd55b826de5a429b /include | |
parent | Merge branch 'net-phy-T1-support' (diff) | |
download | linux-68a9b13d9219a52cd272bd8e93f7fdfd1c22eba1.tar.gz linux-68a9b13d9219a52cd272bd8e93f7fdfd1c22eba1.tar.bz2 linux-68a9b13d9219a52cd272bd8e93f7fdfd1c22eba1.zip |
ipv6: Add delete route hook to stubs
Add ip6_del_rt to the IPv6 stub. The hook is needed by the nexthop
code to remove entries linked to a nexthop that is getting deleted.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ipv6_stubs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ipv6_stubs.h b/include/net/ipv6_stubs.h index 6c0c4fde16f8..307114a46eee 100644 --- a/include/net/ipv6_stubs.h +++ b/include/net/ipv6_stubs.h @@ -45,6 +45,7 @@ struct ipv6_stub { struct fib6_config *cfg, gfp_t gfp_flags, struct netlink_ext_ack *extack); void (*fib6_nh_release)(struct fib6_nh *fib6_nh); + int (*ip6_del_rt)(struct net *net, struct fib6_info *rt); void (*udpv6_encap_enable)(void); void (*ndisc_send_na)(struct net_device *dev, const struct in6_addr *daddr, const struct in6_addr *solicited_addr, |