]> 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)
commit083e2e3d05d2d343f1f60409b68c3092139a1068
tree2662f6645eba7c419eb13ba78c43e2e87c36e39f
parentd61566a19291123e6c608d30cc37740c3ab6e990
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: 043044d8cc0ab ("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