]> 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)
commit58373e424be374c1aacefaa2135494579fe2cf7a
tree6b4b44d284efad30d0e763081d56ccd7028c0b6d
parentc49f6fd0a00c5f415284bec6caf0edab8b7bc4cb
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: a25be86ed800 ("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