[dpdk-stable] [dpdk-dev] [PATCH 02/29] net/ena/base: make allocation macros thread-safe
Stephen Hemminger
stephen at networkplumber.org
Fri Mar 27 15:54:48 CET 2020
On Fri, 27 Mar 2020 11:17:56 +0100
Michal Krawczyk <mk at semihalf.com> wrote:
> From: Igor Chauskin <igorch at amazon.com>
>
> Memory allocation region id could possibly be non-unique
> due to non-atomic increment, causing allocation failure.
>
> Fixes: 9ba7981ec992 ("ena: add communication layer for DPDK")
> Cc: stable at dpdk.org
>
> Signed-off-by: Igor Chauskin <igorch at amazon.com>
> Reviewed-by: Michal Krawczyk <mk at semihalf.com>
> Reviewed-by: Guy Tzalik <gtzalik at amazon.com>
With DPDK all control operations are the device are supposed
to be single threaded by the caller. Do you have an allocation in
some datapath?
More information about the stable
mailing list