mbox series

[v2,net-next,0/8] net: Export functions for nexthop code

Message ID 20190522190446.15486-1-dsahern@kernel.org
Headers show
Series net: Export functions for nexthop code | expand

Message

David Ahern May 22, 2019, 7:04 p.m. UTC
From: David Ahern <dsahern@gmail.com>

This set exports ipv4 and ipv6 fib functions for use by the nexthop
code. It also adds new ones to send route notifications if a nexthop
configuration changes.

v2
- repost of patches dropped at the end of the last dev window
  added patch 8 which exports nh_update_mtu since it is inline with
  the other patches

David Ahern (8):
  ipv6: Add delete route hook to stubs
  ipv6: Add hook to bump sernum for a route to stubs
  ipv6: export function to send route updates
  ipv4: Add function to send route updates
  ipv4: export fib_check_nh
  ipv4: export fib_flush
  ipv4: export fib_info_update_nh_saddr
  ipv4: Rename and export nh_update_mtu

 include/net/ip6_fib.h    |  7 +++++
 include/net/ip_fib.h     |  9 +++++-
 include/net/ipv6_stubs.h |  5 ++++
 net/ipv4/fib_frontend.c  |  2 +-
 net/ipv4/fib_semantics.c | 27 +++++++++---------
 net/ipv4/fib_trie.c      | 72 ++++++++++++++++++++++++++++++++++++++++++++++++
 net/ipv6/addrconf_core.c |  6 ++++
 net/ipv6/af_inet6.c      |  3 ++
 net/ipv6/ip6_fib.c       | 16 ++++++++---
 net/ipv6/route.c         | 32 +++++++++++++++++++++
 10 files changed, 159 insertions(+), 20 deletions(-)

Comments

David Miller May 23, 2019, 12:49 a.m. UTC | #1
From: David Ahern <dsahern@kernel.org>
Date: Wed, 22 May 2019 12:04:38 -0700

> From: David Ahern <dsahern@gmail.com>
> 
> This set exports ipv4 and ipv6 fib functions for use by the nexthop
> code. It also adds new ones to send route notifications if a nexthop
> configuration changes.
> 
> v2
> - repost of patches dropped at the end of the last dev window
>   added patch 8 which exports nh_update_mtu since it is inline with
>   the other patches

Series applied, thanks David.