]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: fix removal of vlan 0
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Fri, 30 Aug 2019 12:08:30 +0000 (12:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 02:07:10 +0000 (19:07 -0700)
commitd9987b1479724c7880dae65ced76ff59e67047ee
tree2662f6645eba7c419eb13ba78c43e2e87c36e39f
parent2fb201fc209a7d04bfc20f0f5204a93cd621d4df
net: aquantia: fix removal of vlan 0

Due to absence of checking against the rx flow rule when vlan 0 is being
removed, the other rule could be removed instead of the rule with vlan 0

Fixes: 7f33a1ab29d28 ("net: aquantia: add support of rx-vlan-filter offload")
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_filters.c