[dpdk-dev] [PATCH] net/cnxk: fix aged flows query

Jerin Jacob jerinjacobk at gmail.com
Fri Feb 2 13:35:04 CET 2024


On Fri, Feb 2, 2024 at 10:51 AM <psatheesh at marvell.com> wrote:
>
> From: Satheesh Paul <psatheesh at marvell.com>
>
> After all aged flows are destroyed, the aged_flows bitmap
> is free-ed. Querying aged flows tries to access this bitmap
> resulting in a segmentation fault. Fixing this by not accessing
> the bitmap if no aged flows are present.
>
> Fixes: 357f5ebc8a24 ("common/cnxk: support flow aging")
> Cc: stable at dpdk.org
>
> Signed-off-by: Satheesh Paul <psatheesh at marvell.com>
> Reviewed-by: Kiran Kumar K <kirankumark at marvell.com>

Applied to dpdk-next-net-mrvl/for-main. Thanks


More information about the stable mailing list