Skip to content

net: Export functions for nexthop code

David Ahern netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v17 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ipv6: Add delete route hook to stubsinclude/net/ipv6_stubs.h net/ipv6/addrconf_core.c net/ipv6/af_inet6.c+8 -00 replies
2/8ipv6: Add hook to bump sernum for a route to stubsinclude/net/ip6_fib.h include/net/ipv6_stubs.h net/ipv6/af_inet6.c +1 more+11 -00 replies
3/8ipv6: export function to send route updatesinclude/net/ip6_fib.h include/net/ipv6_stubs.h net/ipv6/af_inet6.c +2 more+46 -40 replies
4/8ipv4: Add function to send route updatesinclude/net/ip_fib.h net/ipv4/fib_trie.c+74 -00 replies
5/8ipv4: export fib_check_nhinclude/net/ip_fib.h net/ipv4/fib_semantics.c+8 -60 replies
6/8ipv4: export fib_flushinclude/net/ip_fib.h net/ipv4/fib_frontend.c+2 -10 replies
7/8ipv4: export fib_info_update_nh_saddrinclude/net/ip_fib.h net/ipv4/fib_semantics.c+7 -70 replies
8/8ipv4: Rename and export nh_update_mtuinclude/net/ip_fib.h net/ipv4/fib_semantics.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/8] net: Export functions for nexthop code

From: David Ahern <[email protected]>

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(-)
Signature · 1 line
2.11.0