Re: [dpdk-dev] [PATCH] net/mlx5: fix redundant free of Tx buffer

2017-06-01 Thread Ferruh Yigit
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. Othe

Re: [dpdk-dev] [PATCH] net/mlx5: fix redundant free of Tx buffer

2017-06-01 Thread Nélio Laranjeiro
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 f

[dpdk-dev] [PATCH] net/mlx5: fix redundant free of Tx buffer

2017-05-31 Thread Yongseok Koh
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: sta...@dpdk.org Fixes: 1d88ba17194