Skip to content

ipv6: fib6_ref conversion to refcount_t

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ipv6: fib6_info_destroy_rcu() cleanupnet/ipv6/ip6_fib.c+1 -44 replies
2/3ipv6: broadly use fib6_info_hold() helpernet/ipv6/ip6_fib.c+8 -82 replies
3/3ipv6: convert fib6_ref to refcount_tinclude/net/ip6_fib.h net/ipv6/ip6_fib.c net/ipv6/route.c+8 -82 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchWei WangDavid Ahern
1/3A-b R-b
2/3A-b R-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] ipv6: fib6_ref conversion to refcount_t

We are chasing use-after-free in IPv6 that could have their origin in fib6_ref 0 -> 1 transitions.

This patch series should help finding the root causes if these illegal transitions ever happen.

Eric Dumazet (3):
ipv6: fib6_info_destroy_rcu() cleanup
ipv6: broadly use fib6_info_hold() helper
ipv6: convert fib6_ref to refcount_t

 include/net/ip6_fib.h |  8 ++++----
 net/ipv6/ip6_fib.c    | 25 +++++++++++--------------
 net/ipv6/route.c      |  2 +-
 3 files changed, 16 insertions(+), 19 deletions(-)
Signature · 1 line
2.21.0.593.g511ec345e18-goog