From patchwork Fri Apr 29 20:36:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 16000 Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id E2BB2822F2; Fri, 29 Apr 2016 22:36:43 +0200 (CEST) Authentication-Results: open-mesh.org; dmarc=pass header.from=narfation.org Authentication-Results: open-mesh.org; dkim=pass reason="1024-bit key; unprotected key" header.d=narfation.org header.i=@narfation.org header.b=fvE7AwP0; dkim-adsp=pass; dkim-atps=neutral Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2001:4d88:2000:7::2; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=pass header.from=narfation.org Received: from v3-1039.vlinux.de (narfation.org [IPv6:2001:4d88:2000:7::2]) by open-mesh.org (Postfix) with ESMTPS id D141C822DD for ; Fri, 29 Apr 2016 22:36:42 +0200 (CEST) Received: from sven-edge.localnet (p200300C593C12BFD0000000000002E16.dip0.t-ipconnect.de [IPv6:2003:c5:93c1:2bfd::2e16]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 5F8781100F1 for ; Fri, 29 Apr 2016 22:36:42 +0200 (CEST) Authentication-Results: v3-1039.vlinux.de; dmarc=none header.from=narfation.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1461962202; bh=Y5Qbp9HSIfXGasvA6TTQqTfiQb60AurQ1E52IWRT1WA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fvE7AwP0ptLgyu1o3Jl202FbubaozkNyqO7J9UJkqPrK+4Id4YnOPtJNqrYk1+lb/ eKNZYVdhcNfLkP3UokQdAyJVIvYMfdLKa1WeiOz3MXFPjdtIuFNvW90sDZ+/WlvNyv Hh8gP37JUcpXQn7/JqXOMfm+uQTkUlgq+2rci+j0= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 29 Apr 2016 22:36:41 +0200 Message-ID: <2180723.WTc0BYtVHT@sven-edge> User-Agent: KMail/4.14.10 (Linux/4.5.0-1-amd64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <3953178.c6GRPhn5yY@sven-edge> References: <1461875848-11720-1-git-send-email-andrew@lunn.ch> <1461875848-11720-10-git-send-email-andrew@lunn.ch> <3953178.c6GRPhn5yY@sven-edge> MIME-Version: 1.0 Subject: Re: [B.A.T.M.A.N.] [PATCH 09/10] batman-adv: add B.A.T.M.A.N. Dump gateways via netlink X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" On Friday 29 April 2016 21:15:20 Sven Eckelmann wrote: > On Thursday 28 April 2016 22:37:27 Andrew Lunn wrote: > > Dump the list of gateways via the netlink socket. > > > > Signed-off-by: Andrew Lunn > > --- > > > > include/uapi/linux/batman_adv.h | 4 ++ > > net/batman-adv/gateway_client.c | 126 > > > > ++++++++++++++++++++++++++++++++++++++++ net/batman-adv/gateway_client.h | > > > > 1 + > > net/batman-adv/netlink.c | 7 +++ > > 4 files changed, 138 insertions(+) > > You can find the missing includes in the attached patch There were more missing in gateway_client.c. See attached patch Kind regards, Sven From: Sven Eckelmann Date: Fri, 29 Apr 2016 21:05:29 +0200 Subject: [PATCH] missing includes 9 --- net/batman-adv/gateway_client.c | 5 +++++ net/batman-adv/gateway_client.h | 1 + 2 files changed, 6 insertions(+) diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c index 4e8525d..655849a 100644 --- a/net/batman-adv/gateway_client.c +++ b/net/batman-adv/gateway_client.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -31,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -39,6 +41,9 @@ #include #include #include +#include +#include +#include #include #include "gateway_common.h" diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h index 294ff09..f1b2d39 100644 --- a/net/batman-adv/gateway_client.h +++ b/net/batman-adv/gateway_client.h @@ -23,6 +23,7 @@ #include struct batadv_tvlv_gateway_data; +struct netlink_callback; struct seq_file; struct sk_buff;