[ovs-dev] [PATCH 2/4] compat: ipv4: Pass struct net through ip_fragment.

Joe Stringer joe at ovn.org
Fri Jun 24 21:27:37 UTC 2016


On 24 June 2016 at 14:00, Jesse Gross <jesse at kernel.org> wrote:
> On Wed, Jun 22, 2016 at 6:00 PM, Joe Stringer <joe at ovn.org> wrote:
>> diff --git a/acinclude.m4 b/acinclude.m4
>> index 52d0209ab88a..8760948fcf9b 100644
>> --- a/acinclude.m4
>> +++ b/acinclude.m4
>> @@ -408,7 +408,8 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
>>                    [OVS_DEFINE([HAVE_INET_GET_LOCAL_PORT_RANGE_USING_NET])])
>>    OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [ip_defrag.*net],
>>                    [OVS_DEFINE([HAVE_IP_DEFRAG_TAKES_NET])])
>> -  OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [ip_do_fragment])
>> +  OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [ip_do_fragment.*net],
>> +                  [OVS_DEFINE([HAVE_IP_DO_FRAGMENT_USING_NET])])
>
> This might be a good use for Jarno's newly introduced
> OVS_FIND_PARAM_IFELSE macro.

True, I can update this.



More information about the dev mailing list