[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190102170626.kgn52wywtpfub6td@breakpoint.cc>
Date: Wed, 2 Jan 2019 18:06:26 +0100
From: Florian Westphal <fw@...len.de>
To: Mauricio Faria de Oliveira <mfo@...onical.com>
Cc: stable@...r.kernel.org, netdev@...r.kernel.org,
Florian Westphal <fw@...len.de>,
Alakesh Haloi <alakeshh@...zon.com>,
nivedita.singhvi@...onical.com,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
"David S. Miller" <davem@...emloft.net>,
Yi-Hung Wei <yihung.wei@...il.com>
Subject: Re: [PATCH 4.14 4/4] netfilter: nf_conncount: fix garbage collection
confirm race
Mauricio Faria de Oliveira <mfo@...onical.com> wrote:
> +static const struct nf_conntrack_tuple_hash *
> +find_or_evict(struct net *net, struct xt_connlimit_conn *conn)
> +{
> + const struct nf_conntrack_tuple_hash *found;
> + unsigned long a, b;
> + int cpu = raw_smp_processor_id();
> + __s32 age;
This needs to be 'u32'. Alternatively, also backport
4cd273bb91b3001f623 ("netfilter: nf_conncount: don't skip eviction when
age is negative").
Powered by blists - more mailing lists