On 6/28/2019 11:47 AM, Ananyev, Konstantin wrote:
> 
> 
>> -----Original Message-----
>> From: Ivan Malov [mailto:ivan.ma...@oktetlabs.ru]
>> Sent: Friday, June 28, 2019 4:13 AM
>> To: Olivier Matz <olivier.m...@6wind.com>
>> Cc: dev@dpdk.org; Ananyev, Konstantin <konstantin.anan...@intel.com>; Andrew 
>> Rybchenko <arybche...@solarflare.com>; Stephen
>> Hemminger <step...@networkplumber.org>; Kulasek, TomaszX 
>> <tomaszx.kula...@intel.com>; sta...@dpdk.org
>> Subject: [PATCH v3] net: fix the way how L4 checksum choice is tested
>>
>> The API to prepare checksum offloads mistreats L4
>> checksum type enum values as self-contained flags.
>>
>> Turning these flag checks into enum checks causes
>> warnings by GCC about possibly uninitialised IPv4
>> header pointer. The issue was found to show up in
>> the case of GCC versions 4.8.5 and 5.4.0, however,
>> it might be the case for a wider variety of other
>> versions. Initialise the pointer upon declaration.
>> and explain the reason behind this in the comment.
>>
>> Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
>> Cc: Tomasz Kulasek <tomaszx.kula...@intel.com>
>> Cc: sta...@dpdk.org
>>
>> Signed-off-by: Ivan Malov <ivan.ma...@oktetlabs.ru>
>> Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com>
>
> Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>
> 

Applied to dpdk-next-net/master, thanks.

Reply via email to