[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230620163806.GB3799@breakpoint.cc>
Date: Tue, 20 Jun 2023 18:38:06 +0200
From: Florian Westphal <fw@...len.de>
To: Igor Artemiev <Igor.A.Artemiev@...t.ru>
Cc: Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
"David S . Miller" <davem@...emloft.net>,
Paolo Abeni <pabeni@...hat.com>, Jakub Kicinski <kuba@...nel.org>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [lvc-project] [PATCH] netfilter: ebtables: remove unnecessary
NULL check
Igor Artemiev <Igor.A.Artemiev@...t.ru> wrote:
> In ebt_do_table() 'private->chainstack' cannot be NULL
> and the 'cs' pointer is dereferenced below, so it does not make
> sense to compare 'private->chainstack' with NULL.
? Why do you think that?
> + cs = private->chainstack[smp_processor_id()];
Looks like NULL deref to me. Did you test this?
Powered by blists - more mailing lists