[dpdk-stable] [dpdk-dev] [PATCH] fbarray: fix incorrect overlap check

David Marchand david.marchand at redhat.com
Tue Jan 19 13:15:04 CET 2021


On Thu, Jan 14, 2021 at 4:03 PM Anatoly Burakov
<anatoly.burakov at intel.com> wrote:
>
> When we're attaching fbarrays in secondary processes, we check for
> whether the intended memory address for the fbarray is already in use by
> some other, local fbarray. However, the check for end-overlap (i.e. to
> see if our memory area's end overlaps with some other fbarray) is
> incorrectly counting end offset as part of the overlap. Fix the check.
>
> Fixes: 5b61c62cfd76 ("fbarray: add internal tailq for mapped areas")
> Cc: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Tested-by: Zhihong Peng <zhihongx.peng at intel.com>

Applied.

-- 
David Marchand



More information about the stable mailing list