Subject: Re: [PATCH net-next] vxlan_core: delete unnecessary condition

From: Dan Carpenter <[email-masked]>
Date: Mon, 7 Mar 2022 17:15:52 +0300

On Mon, Mar 07, 2022 at 03:05:49PM +0200, Nikolay Aleksandrov wrote:
> On 07/03/2022 14:57, Dan Carpenter wrote:
> > The previous check handled the "if (!nh)" condition so we know "nh"
> > is non-NULL here.  Delete the check and pull the code in one tab.
> > 
> > Signed-off-by: Dan Carpenter <[email-masked]>
> > ---
> > This not a bug so a Fixes tag is innappropriate, however for reviewers
> > this was introduced in commit 4095e0e1328a ("drivers: vxlan: vnifilter:
> > per vni stats")
> 
> No, it was not introduced by that commit.
> It was introduced by commit:
>  1274e1cc4226 ("vxlan: ecmp support for mac fdb entries")

Yeah.  Sorry.  No idea how I got that wrong.

regards,
dan carpenter