[Linux-stm32] [PATCH net-next] net: stmmac: Fix VLAN filtering when HW does not support it

David Miller davem at davemloft.net
Wed Apr 1 18:25:42 UTC 2020


From: Jose Abreu <Jose.Abreu at synopsys.com>
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 at synopsys.com>

Applied.



More information about the Linux-stm32 mailing list