Re: [PATCH net] net: dsa: Fix dsa_is_user_port() test inversion

From: David Miller
Date: Mon Mar 12 2018 - 21:07:04 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Mon, 12 Mar 2018 16:00:40 -0700

> During the conversion to dsa_is_user_port(), a condition ended up being
> reversed, which would prevent the creation of any user port when using
> the legacy binding and/or platform data, fix that.
>
> Fixes: 4a5b85ffe2a0 ("net: dsa: use dsa_is_user_port everywhere")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied and queued up for -stable, thanks Florian.