]> 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)
commit3707428ddabadde4086eb7c592e988f584344857
tree6b4b44d284efad30d0e763081d56ccd7028c0b6d
parent17c37d748f2b122a95b6d0524d410302ff89a2b1
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: 969f84394604 ("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