Revert "net/mlx5: Fix error path in multi-packet WQE transmit"

This reverts commit 270ecc4364.
This commit is contained in:
Ksawlii 2024-11-24 00:23:12 +01:00
parent 318078984c
commit ade1083a2d

View file

@ -601,6 +601,7 @@ mlx5e_sq_xmit_mpwqe(struct mlx5e_txqsq *sq, struct sk_buff *skb,
return;
err_unmap:
mlx5e_dma_unmap_wqe_err(sq, 1);
sq->stats->dropped++;
dev_kfree_skb_any(skb);
}