[dpdk-dev] [PATCH] net/mlx5: fix redundant free of Tx buffer
ferruh.yigit at intel.com
Thu Jun 1 12:33:49 CEST 2017
On 6/1/2017 9:08 AM, Nélio Laranjeiro wrote:
> On Wed, May 31, 2017 at 10:48:45AM -0700, Yongseok Koh wrote:
>> 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 at dpdk.org
>> Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path")
>> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
> Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev