Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp630592pxa; Wed, 5 Aug 2020 09:11:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXkMwYDWHVxJ38xGx0ajcTdn3IVYqeWaSSROvNW7hryu3FXthJa9ZUjAfFwwx783MlKxLX X-Received: by 2002:a17:906:e218:: with SMTP id gf24mr4067052ejb.469.1596643896451; Wed, 05 Aug 2020 09:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596643896; cv=none; d=google.com; s=arc-20160816; b=acj2r1jIb+YLQq4divQug/Kc08/MCmr/MCW8Q9/WErGT5Mixd37dy3scXLPXZj38mD v00bU/gs+RZqUD9RA5iEiO6Ajxk6WEXOKfRP+0JdVxbK+kUFLsIkKQtTgtKFaLVY9eyl jWp9li/rwjWXXUEfg129mlDwsNrXoFFCB1QjBewmD4VpVHS0zS/HN5/KKnt2JMk66pCc wp68bfj1X/RUA8YIKpd+gqtpMySFTHDk6dUIme7ZaglYoqJZKZx7F8SO5wxjPFRWApHL NZGHf5in1uFKv6KTQLofVvZocfRhX+4eviVqhMbdPwawA1FD/bUaXyx6EKx5ntNni9mK Edpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2rdWMsfVYoLVMGMuU1zSO9y5DV7npaEchPj2O2QlCzs=; b=thr75ioTYEffQmuURGaq1ot4TvFjCQLA9GcsNUIIhFef+W2Wzyuq1Yn9mN49FEbju5 EGzdin1VGCKot0UJwBV4TUKl2So6gwOgclVRdtwCD8Z4361rCV8MEh70Pug4a15wtJLt ZXH7kOi0MqEsQFjFgYFPU75llrNDVtU4kqQF1b00bQ1CZYAd5LAjCGyOZ/MzNV9Yc6hC B7kEstMX4tBZqmrFoqhhOKIwFbT/HBakXuqgSsOmqKZwQm0wyqTpFLyLIZ39V105dTy6 K8k+WQ4u+pqMbaFEzyuVukj3/cZuw695R9ci44EkRbmF4ABy8EpdSuao3ipULE9QroW4 NBjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gqstTDto; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce15si1686258edb.201.2020.08.05.09.11.09; Wed, 05 Aug 2020 09:11:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gqstTDto; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726186AbgHEQKv (ORCPT + 99 others); Wed, 5 Aug 2020 12:10:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:33435 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbgHEPsi (ORCPT ); Wed, 5 Aug 2020 11:48:38 -0400 X-Greylist: delayed 723 seconds by postgrey-1.27 at vger.kernel.org; Wed, 05 Aug 2020 11:48:37 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596642331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2rdWMsfVYoLVMGMuU1zSO9y5DV7npaEchPj2O2QlCzs=; b=gqstTDtoesNQpmIXXrmaVyp1fjVXg9pB5CuuWcQrCkV5M57coYkYX0MisWG8xrv6zUm76Y KMdDB3I4PugRZrBe79JUB4o0ZGSag3tb+up3l2V4SiiopX/FWB2XYWJ3XvuT0m28UQ5ZBR hXv7qG8iOnwoKf+y8HADzfyRlhvQ69E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-358-TzVqO_I0MwqTgX4ANH4PbQ-1; Wed, 05 Aug 2020 09:18:39 -0400 X-MC-Unique: TzVqO_I0MwqTgX4ANH4PbQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DB70091270; Wed, 5 Aug 2020 13:18:37 +0000 (UTC) Received: from epycfail.redhat.com (unknown [10.36.110.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id DCBC5380; Wed, 5 Aug 2020 13:18:35 +0000 (UTC) From: Stefano Brivio To: "David S. Miller" Cc: Stephen Rothwell , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, heiko.carstens@de.ibm.com, Cong Wang Subject: [PATCH net-next] ip_tunnel_core: Fix build for archs without _HAVE_ARCH_IPV6_CSUM Date: Wed, 5 Aug 2020 15:18:21 +0200 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On architectures defining _HAVE_ARCH_IPV6_CSUM, we get csum_ipv6_magic() defined by means of arch checksum.h headers. On other architectures, we actually need to include net/ip6_checksum.h to be able to use it. Without this include, building with defconfig breaks at least for s390. Reported-by: Stephen Rothwell Fixes: 4cb47a8644cc ("tunnels: PMTU discovery support for directly bridged IP packets") Signed-off-by: Stefano Brivio --- I'm submitting this for net-next despite the fact it's closed, as the offending code isn't merged to net.git yet. Should I rather submit this to... linux-next? 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..75c6013ff9a4 100644 --- a/net/ipv4/ip_tunnel_core.c +++ b/net/ipv4/ip_tunnel_core.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include -- 2.27.0