Skip to content

net/ipv6: followup to fib6_info change

David Ahern netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net/ipv6: Rename fib6_info struct elementsdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c include/net/ip6_fib.h include/net/ip6_route.h +5 more+298 -2980 replies
2/8net/ipv6: Rename addrconf_dst_allocinclude/net/ip6_route.h net/ipv6/addrconf.c net/ipv6/anycast.c +1 more+44 -440 replies
3/8net/ipv6: Remove aca_idevinclude/net/if_inet6.h include/net/ip6_fib.h net/ipv6/addrconf.c +1 more+7 -60 replies
4/8net/ipv6: Remove unnecessary checks on fib6_idevnet/ipv6/route.c+2 -220 replies
5/8net/ipv6: Change ip6_route_get_saddr to get dev from routeinclude/net/ip6_route.h+6 -50 replies
6/8net/ipv6: Remove compare of fib6_idev from rt6_duplicate_nexthopinclude/net/ip6_route.h+0 -10 replies
7/8net/ipv6: Remove fib6_idevinclude/net/ip6_fib.h net/ipv6/ip6_fib.c net/ipv6/route.c+47 -220 replies
8/8net/ipv6: Fix gfp_flags arg to addrconf_prefix_routenet/ipv6/addrconf.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/8] net/ipv6: followup to fib6_info change

Followup to fib change for IPv6.

First 2 patches rename fib6_info struct elements to match its name, and rename addrconf_dst_alloc to match what it returns.

Patches 3-7 refactor the code to remove the need for fib6_idev reducing fib6_info by another 8 bytes to 200 bytes.

Patch 8 fixes the gfp flags argument to addrconf_prefix_route in a couple of places.

David Ahern (8):
net/ipv6: Rename fib6_info struct elements
net/ipv6: Rename addrconf_dst_alloc
net/ipv6: Remove aca_idev
net/ipv6: Remove unnecessary checks on fib6_idev net/ipv6: Change ip6_route_get_saddr to get dev from route net/ipv6: Remove compare of fib6_idev from rt6_duplicate_nexthop net/ipv6: Remove fib6_idev
net/ipv6: Fix gfp_flags arg to addrconf_prefix_route

 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  |  56 ++--
 include/net/if_inet6.h                             |   1 -
 include/net/ip6_fib.h                              |  42 +--
 include/net/ip6_route.h                            |  34 +-
 net/ipv6/addrconf.c                                |  59 ++--
 net/ipv6/anycast.c                                 |  24 +-
 net/ipv6/ip6_fib.c                                 | 168 +++++-----
 net/ipv6/ndisc.c                                   |   2 +-
 net/ipv6/route.c                                   | 358 +++++++++++----------
 9 files changed, 375 insertions(+), 369 deletions(-)
Signature · 1 line
2.11.0