Search Linux Wireless

Re: [PATCH] ipv4: tunnel: fix compilation on ARCH=um

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 12 Aug 2020 13:01:16 -0700

> 
> 
> On 8/12/20 12:08 PM, Johannes Berg wrote:
>> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>> 
>> With certain configurations, a 64-bit ARCH=um errors
>> out here with an unknown csum_ipv6_magic() function.
>> Include the right header file to always have it.
>> 
>> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
>> ---
>>  net/ipv4/ip_tunnel_core.c | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/net/ipv4/ip_tunnel_core.c b/net/ipv4/ip_tunnel_core.c
>> index 9ddee2a0c66d..4ecf0232ba2d 100644
>> --- a/net/ipv4/ip_tunnel_core.c
>> +++ b/net/ipv4/ip_tunnel_core.c
>> @@ -37,6 +37,7 @@
>>  #include <net/geneve.h>
>>  #include <net/vxlan.h>
>>  #include <net/erspan.h>
>> +#include <net/ip6_checksum.h>
>>  
>>  const struct ip_tunnel_encap_ops __rcu *
>>  		iptun_encaps[MAX_IPTUN_ENCAP_OPS] __read_mostly;
>> 
> 
> Already fixed ?
> 
> commit 8ed54f167abda44da48498876953f5b7843378df
> Author: Stefano Brivio <sbrivio@xxxxxxxxxx>
> Date:   Wed Aug 5 15:39:31 2020 +0200
> 
>     ip_tunnel_core: Fix build for archs without _HAVE_ARCH_IPV6_CSUM

Indeed, this patch added a dup include, I've reverted it.



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux