On 06.01.2020 22:12, Ben Pfaff wrote:
> On Sat, Jan 04, 2020 at 12:50:34AM +0100, Ilya Maximets wrote:
>> Most of callers doesn't initialize dpif_execute.hash leaving random
>> value from the stack.  And this random value used later while encoding
>> netlink message and might produce unwanted kernel behavior.
>>
>> Fix that by fully initializing dpif_execute structure.  Using
>> designated initializers to avoid such issues in the future.
>>
>> Fixes: 0442bfb11d6c ("ofproto-dpif-upcall: Echo HASH attribute back to 
>> datapath.")
>> Signed-off-by: Ilya Maximets <[email protected]>
> 
> Thanks so much for finding and fixing this.
> 
> Acked-by: Ben Pfaff <[email protected]>
> 

Thanks!  Applied to master.

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

Reply via email to