Re: [PATCH] net/mlx5: fix redundant free of Tx buffer
From: Ferruh Yigit <hidden>
Date: 2017-06-01 10:33:49
From: Ferruh Yigit <hidden>
Date: 2017-06-01 10:33:49
On 6/1/2017 9:08 AM, Nélio Laranjeiro wrote:
On Wed, May 31, 2017 at 10:48:45AM -0700, Yongseok Koh wrote:quoted
SW completion ring of Tx (txq->elts) stores individual mbufs even if a multi-segmented packet is sent. rte_pktmbuf_free_seg() must be used when cleaning up the completion ring. Otherwise, chained mbufs are redundantly freed and finally it would cause a crash. CC: stable@dpdk.org Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path") Signed-off-by: Yongseok Koh <redacted>
Acked-by: Nelio Laranjeiro <redacted>
Applied to dpdk-next-net/master, thanks.