[PATCH v2] net/memif: remove pointer deference before null check
Ferruh Yigit
ferruh.yigit at intel.com
Wed Feb 9 18:51:35 CET 2022
On 2/9/2022 1:56 PM, Ferruh Yigit wrote:
> On 2/9/2022 7:39 AM, Weiguo Li wrote:
>> There are duplicates of assignment here, the one before null check
>> may cause a null pointer deference, so remove the previous one.
>>
>> Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD")
>>
>
> Cc: stable at dpdk.org
>
>> Signed-off-by: Weiguo Li <liwg06 at foxmail.com>
>
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list