[ovs-dev] [PATCH ovn] ovn-northd: Fix uninitialized 'prefix' in 'ip46_parse_cidr'.

Dumitru Ceara dceara at redhat.com
Mon Jan 27 14:32:50 UTC 2020


On 1/27/20 3:07 PM, Numan Siddique wrote:
> On Mon, Jan 27, 2020 at 6:35 PM Dumitru Ceara <dceara at redhat.com> wrote:
>>
>> The partially initialized 'prefix' was later used for computing route
>> hashes (route_hash()) causing the ECMP routes to be incorrectly
>> installed. To fix the issue we now zero out the prefix before parsing
>> it.
>>
>> CC: Han Zhou <hzhou at ovn.org>
>> Fixes: 4e53974bdc4e ("ovn-northd: Support ECMP routes.")
>> Signed-off-by: Dumitru Ceara <dceara at redhat.com>
> 
> Thanks Dumitru for the fix. I applied this to master.
> 
> Numan
> 

Thanks Numan!



More information about the dev mailing list