]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d22eee6ca1440774467815ab98247006e147b2c
tree0b5cbc74ef48d5d571ded7c8971d30df7740c035
parent1e51cff58f2613ba52cd1a51824ca8b1d94e5e68
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