[PATCH] net/nfp: fix parsing non-exist meta data
Ferruh Yigit
ferruh.yigit at amd.com
Fri Apr 19 02:54:22 CEST 2024
On 4/15/2024 3:47 AM, Chaoyong He wrote:
> From: Long Wu <long.wu at corigine.com>
>
> If the packet without meta data, the initialization logic of
> 'meta->flags' will be skipped and lead to the wrong logic
> because of 'meta->flags' has random value.
>
> Fix it by make sure 'meta->flags' can be initialized in any situation.
>
> Fixes: 5eed6ad5a7b9 ("net/nfp: use flag bits to control meta data parsing")
> Cc: stable at dpdk.org
>
> Signed-off-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
> Reviewed-by: Zerun Fu <zerun.fu at corigine.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list