]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: move filter sync_needed bit set
authorShannon Nelson <snelson@pensando.io>
Tue, 5 Oct 2021 23:11:05 +0000 (16:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2021 14:15:05 +0000 (15:15 +0100)
commit182eabf2a52b6b39979abf79311afe9f6fff4528
tree6b4b44d284efad30d0e763081d56ccd7028c0b6d
parent2bd38302bd791f0cff1820a0ff23176029388d37
ionic: move filter sync_needed bit set

Move the setting of the filter-sync-needed bit to the error
case in the filter add routine to be sure we're checking the
live filter status rather than a copy of the pre-sync status.

Fixes: fd39dfc5c5a2 ("ionic: sync the filters in the work task")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c