On 5/26/21 2:46 PM, Matteo Croce wrote:
> On Wed, May 26, 2021 at 2:34 PM Eelco Chaudron <[email protected]> wrote:
>> On 18 May 2021, at 20:15, Ilya Maximets wrote:
>>>> +/* Tests whether 'dpif' datapath supports decrement of the IP TTL via
>>>> + * OVS_ACTION_DEC_TTL. */
>>>> +static bool
>>>> +check_dec_ttl_action(struct dpif *dpif)
>>>> +{
>>>> +    struct odputil_keybuf keybuf;
>>>> +    struct flow flow = { 0 };
>>>
>>> It's probbaly better to just memset it as in other similar functions
>>> to avoid compiler's complains.
>>
>> ACK, will use a memset here.
>>
> 
> Which complaint? Memset is a bit slower because it clears also the
> struct padding.
> 

At least, ovsrobot failed to build this patch:
  https://mail.openvswitch.org/pipermail/ovs-dev/2021-May/383122.html

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

Reply via email to