[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170317115058.GB4979@salvia>
Date: Fri, 17 Mar 2017 12:50:58 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Elena Reshetova <elena.reshetova@...el.com>
Cc: netfilter-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
kadlec@...ckhole.kfki.hu, peterz@...radead.org,
Hans Liljestrand <ishkamiel@...il.com>,
Kees Cook <keescook@...omium.org>,
David Windsor <dwindsor@...il.com>
Subject: Re: [PATCH] net, netfilter: refcounter conversions
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.
Powered by blists - more mailing lists