From patchwork Tue Oct 25 15:53:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101607 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp3190387qge; Tue, 25 Oct 2016 08:54:03 -0700 (PDT) X-Received: by 10.98.133.141 with SMTP id m13mr40318266pfk.147.1477410842903; Tue, 25 Oct 2016 08:54:02 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ey6si17828354pab.6.2016.10.25.08.54.02; Tue, 25 Oct 2016 08:54:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759193AbcJYPx7 (ORCPT + 27 others); Tue, 25 Oct 2016 11:53:59 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:61750 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754241AbcJYPx5 (ORCPT ); Tue, 25 Oct 2016 11:53:57 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue002) with ESMTPA (Nemesis) id 0LdQdm-1cgPYO0rz8-00imDa; Tue, 25 Oct 2016 17:53:46 +0200 From: Arnd Bergmann To: "David S. Miller" Cc: Arnd Bergmann , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , Cyrill Gorcunov , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [net-next] net: ip, diag: include net/inet_sock.h Date: Tue, 25 Oct 2016 17:53:22 +0200 Message-Id: <20161025155339.9892-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:wKEpBqkh3XKVA0pBDq/nfsLvrk7fRRGnE+jtH5KGV4i71w03nyw HqyfWUKGnAcKJjfWnI325Wf3G2ENyB1892tCrwNn13kQdr+rhr8s7GjPqpovFwAiPyGwVHC ZLKMEOgP451EczX/gx+DDQyb+Zn+k6bSNU1E75rx9JjceSCupc7l7bdDkXcoVICOXdVJZfm hqcfgCOTZAstLDd4CfzRQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:9DLNNpr5lnQ=:RuFIwxzA7Pe1EVjo4JbfmL ytw2xYMH28g15R3i0R8VKHI276nQ5j8tB3rTZhg8GY5GCb+kGQFKZboz452CdNAxyjazzNb1d JOPg3t/mGwmvI4AszqdCInAqno3eQbnbFimcfxLEyEF83tAx7B+1hLtLmL8elNf2+JpcXsoyF xDvfx/r6kL1oPrFlPRtkXn5h0XuRMRss1yTETERMAh5OuPzL94eVpIPkcQQCuANNxdX0hDJg1 7wgw/qlIL1WZA7LGZn+4yUUILkTsa0XOL1fcLxbiIxp3xG7lnoqAU1NeFpdN9Qeq57AD433Dx oObBOpYaysWo0yN1YkQGc6njMeZNhoE2jsFqO3+XTL2zwZfsZ3SAjDHh8wDLYbLqqGGRznUd8 6rsHyrI/WHYehCO2PXzsMkI1hrze7oolAexzK7tJBBccTIO5aUkdJ9YIQxYWRzpyQAiX4Icqr MXgDhFs3Y9un/i8+LZfDdTFwi4yz/qAMEaBPml7o1a2VbIcoQVTxbPG7Bj3ulUp3zTxw421eW B2flbS3/pvk9YSSqu6hKSVrhmryp55H7ITdgiF8blhFfRbQ9hfs5zGXvEAZq7lTiMGJEHgLu6 4qM6UqtCyfCOgF2YvTtGfP+YoKBFeo7x/4SlQ3OtXCx3fEPY81YK7Zlq47IOywZzZ5tngaFbV RnTjAHFi5QSEE29B+1v/kD+RM+XDhUMIVDb2NJlQLA78oWa7gqP24oxqJYuSA3PsqFvU= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added raw_diag.c fails to build in some configurations unless we include this header: In file included from net/ipv4/raw_diag.c:6:0: include/net/raw.h:71:21: error: field 'inet' has incomplete type net/ipv4/raw_diag.c: In function 'raw_diag_dump': net/ipv4/raw_diag.c:166:29: error: implicit declaration of function 'inet_sk' Fixes: 432490f9d455 ("net: ip, diag -- Add diag interface for raw sockets") Signed-off-by: Arnd Bergmann --- net/ipv4/raw_diag.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/net/ipv4/raw_diag.c b/net/ipv4/raw_diag.c index ef3bea061b75..be930908bcf9 100644 --- a/net/ipv4/raw_diag.c +++ b/net/ipv4/raw_diag.c @@ -3,6 +3,7 @@ #include #include +#include #include #include