Re: [PATCH net-next] net: stmmac: Fix VLAN filtering when HW does not support it
From: David Miller
Date: Wed Apr 01 2020 - 14:25:45 EST
From: Jose Abreu <Jose.Abreu@xxxxxxxxxxxx>
Date: Wed, 1 Apr 2020 19:29:03 +0200
> If we don't have any filters available we can't rely upon the return
> code of stmmac_add_hw_vlan_rx_fltr() / stmmac_del_hw_vlan_rx_fltr(). Add
> a check for this.
>
> Fixes: ed64639bc1e0 ("net: stmmac: Add support for VLAN Rx filtering")
> Signed-off-by: Jose Abreu <Jose.Abreu@xxxxxxxxxxxx>
Applied.