Re: [PATCH] net, netfilter: refcounter conversions

From: Pablo Neira Ayuso
Date: Fri Mar 17 2017 - 07:52:15 EST


On Thu, Mar 16, 2017 at 10:03:34AM +0200, Elena Reshetova wrote:
> refcount_t type and corresponding API (see include/linux/refcount.h)
> 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.

Applied, thanks.