ionic: no rx flush in deinit
authorShannon Nelson <snelson@pensando.io>
Thu, 22 Oct 2020 23:55:30 +0000 (16:55 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Oct 2020 01:37:23 +0000 (18:37 -0700)
commit43ecf7b46f2688fd37909801aee264f288b3917b
treebd2c2e4acdc751580419d9d3b2de3380d00c57b4
parentd701ec326a31945d1533b438a6feab753829b738
ionic: no rx flush in deinit

Kmemleak pointed out to us that ionic_rx_flush() is sending
skbs into napi_gro_XXX with a disabled napi context, and these
end up getting lost and leaked.  We can safely remove the flush.

Fixes: 0f3154e6bcb3 ("ionic: Add Tx and Rx handling")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.h