On 09.01.2020 19:16, Ben Pfaff wrote:
> On Thu, Jan 09, 2020 at 05:27:36PM +0100, Ilya Maximets wrote:
>> Both ovs_key_ct_tuple_ipv* structures contains padding at the end
>> that mast be cleared before passing attributes to kernel:
> 
> Good catch.
> 
> I think that you could save a line for the memset() call by using
> nl_msg_put_unspec_zero().
> 
> Acked-by: Ben Pfaff <[email protected]>
> 

Thanks!  I updated this patch to use nl_msg_put_unspec_zero().
Applied to master and backported.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to