[PATCH] net/enic: adjust memory check and use in proper order

Ferruh Yigit ferruh.yigit at intel.com
Thu Feb 3 11:57:48 CET 2022


On 2/2/2022 11:50 AM, Thomas Monjalon wrote:
>>> Subject: [PATCH] net/enic: adjust memory check and use in proper order
>>>
>>> Fixes: bb66d562aefc ("net/enic: share flow actions with same signature")
>>>
>>> Signed-off-by: Weiguo Li <liwg06 at foxmail.com>
>>>
>>> Reviewed-by: John Daley <johndale at cisco.com>
>>>
>> Applied to dpdk-next-net/main, thanks.
> 
> Please could we have a little of explanation in the commit log?
> The title says "adjust [...] and use in proper order"
> but I see only a move of the check.
> 
> 

Is following good? If so I can update it in next-net.

     net/enic: fix dereference before null check
     
     Move memcpy to 'ah->key' after 'ah' null check
     
     Fixes: bb66d562aefc ("net/enic: share flow actions with same signature")
     Cc: stable at dpdk.org



More information about the dev mailing list