From: Eric Dumazet <eric.duma...@gmail.com> Date: Fri, 18 Aug 2017 12:08:07 -0700
> From: Eric Dumazet <eduma...@google.com> > > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > situations. > > Signed-off-by: Eric Dumazet <eduma...@google.com> > --- > v3: added the include <linux/refcount.h> to be safe (Cong Wang) > v2: fix a missing change in net/ipv4/fib_semantics.c Applied, thanks Eric.