ipv6: convert fib6_ref to refcount_t
authorEric Dumazet <edumazet@google.com>
Tue, 23 Apr 2019 01:35:03 +0000 (18:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2019 00:19:48 +0000 (17:19 -0700)
commitf05713e0916ca46f127641b6afa74bd1a0772423
tree0b5cbc74ef48d5d571ded7c8971d30df7740c035
parent5ea715289af6e7d0459c8f279c70557a9ee4f322
ipv6: convert fib6_ref to refcount_t

We suspect some issues involving fib6_ref 0 -> 1 transitions might
cause strange syzbot reports.

Lets convert fib6_ref to refcount_t to catch them earlier.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Wei Wang <weiwan@google.com>
Acked-by: Wei Wang <weiwan@google.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
net/ipv6/ip6_fib.c
net/ipv6/route.c