On 8/24/23 17:12, Eelco Chaudron wrote:
> 
> 
> On 13 Aug 2023, at 11:08, Zhiqi Chen via dev wrote:
> 
>> The 'len' of a netdev_flow_key initialized by netdev_flow_key_init()
>> is always zero, which may cause errors when cloning a netdev_flow_key
>> by netdev_flow_key_clone().
>>
>> Currently the 'len' member of a netdev_flow_key initialized by
>> netdev_flow_key_init() is not used, so this error will not cause any
>> bad behavior for now.
>>
>> Fixes: c82f496c3b69 ("dpif-netdev: Use unmasked key when adding datapath 
>> flows.")
>> Signed-off-by: Zhiqi Chen <chenzhiqi....@bytedance.com>
> 
> 
> Thanks for fixing this issue, the changes look good to me!
> 
> Acked-by: Eelco Chaudron <echau...@redhat.com>


Thanks, Zhiqi and Eelco!  Applied and backported down to 2.17.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to