patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [dpdk-dev] [PATCH] mempool: fix corruption due to invalid handler
       [not found] <1473348597-11904-1-git-send-email-droidluo@gmail.com>
@ 2016-09-16 14:19 ` Thomas Monjalon
  2016-09-27  6:30 ` Yuanhan Liu
  1 sibling, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2016-09-16 14:19 UTC (permalink / raw)
  To: Weiliang Luo; +Cc: dev, stable, olivier.matz

CC stable@dpdk.org

2016-09-08 10:29, Weiliang Luo:
> When using rte_mempool_create(), the mempool handler is selected
> depending on the flags given by the user:
>   - multi-consumer / multi-producer
>   - multi-consumer / single-producer
>   - single-consumer / multi-producer
>   - single-consumer / single-producer
> 
> The flags were not properly tested, resulting in the selection of sc/sp
> handler if sc/mp or mc/sp was asked. This can lead to corruption or
> crashes because the get/put operations are not atomic.
> 
> Fixes: 449c49b93a6b ("mempool: support handler operations")
> 
> Signed-off-by: Weiliang Luo <droidluo@gmail.com>
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [dpdk-dev] [PATCH] mempool: fix corruption due to invalid handler
       [not found] <1473348597-11904-1-git-send-email-droidluo@gmail.com>
  2016-09-16 14:19 ` [dpdk-stable] [dpdk-dev] [PATCH] mempool: fix corruption due to invalid handler Thomas Monjalon
@ 2016-09-27  6:30 ` Yuanhan Liu
  1 sibling, 0 replies; 2+ messages in thread
From: Yuanhan Liu @ 2016-09-27  6:30 UTC (permalink / raw)
  To: Weiliang Luo; +Cc: dpdk stable, Olivier Matz

On Thu, Sep 08, 2016 at 10:29:57AM -0500, Weiliang Luo wrote:
> When using rte_mempool_create(), the mempool handler is selected
> depending on the flags given by the user:
>   - multi-consumer / multi-producer
>   - multi-consumer / single-producer
>   - single-consumer / multi-producer
>   - single-consumer / single-producer
> 
> The flags were not properly tested, resulting in the selection of sc/sp
> handler if sc/mp or mc/sp was asked. This can lead to corruption or
> crashes because the get/put operations are not atomic.
> 
> Fixes: 449c49b93a6b ("mempool: support handler operations")
> 
> Signed-off-by: Weiliang Luo <droidluo@gmail.com>
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

FYI, this patch has been applied to stable branch v16.07.

It hasn't been pushed to http://dpdk.org/browse/dpdk-stable/ yet.
It will be pushed if I get no objections in around TWO days. So 
please shutout if you have objections.

Thanks.

	--yliu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-27  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1473348597-11904-1-git-send-email-droidluo@gmail.com>
2016-09-16 14:19 ` [dpdk-stable] [dpdk-dev] [PATCH] mempool: fix corruption due to invalid handler Thomas Monjalon
2016-09-27  6:30 ` Yuanhan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).