On Thu, Aug 31, 2017 at 7:48 PM, Eric Dumazet <eduma...@google.com> wrote:
> 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.
>
> v2: added the change in drivers/vhost/net.c as spotted
> by Willem.
>
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Acked-by: Willem de Bruijn <will...@google.com>

Reply via email to