Re: [PATCH] net/nfp: fix parsing non-exist meta data

2024-04-18 Thread Ferruh Yigit
On 4/15/2024 3:47 AM, Chaoyong He wrote: > From: Long Wu > > 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 situa

[PATCH] net/nfp: fix parsing non-exist meta data

2024-04-14 Thread Chaoyong He
From: Long Wu 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