Revert "virtio_net: ensure netdev_tx_reset_queue is called on bind xsk for tx"

This reverts commit c43b0a185f which is
commit 76a771ec4c9adfd75fe53c8505cf656a075d7101 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I2f46d7d63e5006b8e8d9e213984b2bb56a049d96
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2025-06-03 08:31:41 +00:00
parent dba4f359fc
commit 81930ac28a

View File

@@ -5576,8 +5576,7 @@ static int virtnet_sq_bind_xsk_pool(struct virtnet_info *vi,
virtnet_tx_pause(vi, sq);
err = virtqueue_reset(sq->vq, virtnet_sq_free_unused_buf,
virtnet_sq_free_unused_buf_done);
err = virtqueue_reset(sq->vq, virtnet_sq_free_unused_buf, NULL);
if (err) {
netdev_err(vi->dev, "reset tx fail: tx queue index: %d err: %d\n", qindex, err);
pool = NULL;