[ovs-dev] [#8024 1/7] datapath: Properly calculate checksum when updating TOS field.

Justin Pettit jpettit at nicira.com
Mon Nov 7 14:39:12 PST 2011


On Nov 7, 2011, at 2:10 PM, Jesse Gross wrote:

> On Mon, Nov 7, 2011 at 1:28 PM, Justin Pettit <jpettit at nicira.com> wrote:
>> diff --git a/acinclude.m4 b/acinclude.m4
>> index 648132a..fd89bea 100644
>> --- a/acinclude.m4
>> +++ b/acinclude.m4
>> @@ -248,6 +248,7 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
>>                   [OVS_DEFINE([HAVE_CSUM_TYPES])])
>> 
>>   OVS_GREP_IFELSE([$KSRC/include/net/checksum.h], [csum_replace4])
>> +  OVS_GREP_IFELSE([$KSRC/include/net/checksum.h], [csum_replace2])
> 
> I think these two will always be backported together (they were with
> RHEL 5), so I would just use the same check.  Otherwise looks good
> though:
> Acked-by: Jesse Gross <jesse at nicira.com>


Okay, I combined them under the same csum_replace4 check.

--Justin





More information about the dev mailing list