From patchwork Fri Apr 29 19:14:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 15988 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 92C88822E6; Fri, 29 Apr 2016 21:15:09 +0200 (CEST) Authentication-Results: open-mesh.org; dmarc=none header.from=narfation.org Authentication-Results: open-mesh.org; dkim=fail reason="verification failed; unprotected key" header.d=narfation.org header.i=@narfation.org header.b=j8wQthqz; dkim-adsp=fail (unprotected policy); dkim-atps=neutral Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=79.140.41.39; 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 [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id F094E822D4 for ; Fri, 29 Apr 2016 21:15:00 +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 7A1DE1100F1; Fri, 29 Apr 2016 21:15:00 +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=1461957300; bh=UFexVZqdSzwIdSkgCzHyPaEN75CKcaan8jbOsfoiE8U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j8wQthqzw5JP2XuaFxw7ZUTLINPG2YtKPH2MuV+y56E+JzxjSucVMK6Ndv8jV1kBR msr+dw6KT2lYOPlTScGX8pJx7eJGKNHS3lWFTrJTcAmMqG2gE7XJ5VrIH//M6TlF3A RCWdrY43fbMVdcdL72OwD1pmzQY2lK7HAeaQR3nI= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 29 Apr 2016 21:14:59 +0200 Message-ID: <6196676.aNASJDfWgs@sven-edge> User-Agent: KMail/4.14.10 (Linux/4.5.0-1-amd64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <1461875848-11720-3-git-send-email-andrew@lunn.ch> References: <1461875848-11720-1-git-send-email-andrew@lunn.ch> <1461875848-11720-3-git-send-email-andrew@lunn.ch> MIME-Version: 1.0 Subject: Re: [B.A.T.M.A.N.] [PATCH 02/10] batman-adv: Suppress debugfs entries for netns's 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 Thursday 28 April 2016 22:37:20 Andrew Lunn wrote: > Debugfs is not netns aware. It thus has problems when the same > interface name exists in multiple network name spaces. > > Work around this by not creating entries for interfaces in name spaces > other than the default name space. This means meshes in network > namespaces cannot be managed via debugfs, but there will soon be a > netlink interface which is netns aware. > > Signed-off-by: Andrew Lunn > --- > net/batman-adv/debugfs.c | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) You can find the missing includes in the attached patch Kind regards, Sven From: Sven Eckelmann Date: Fri, 29 Apr 2016 20:29:25 +0200 Subject: [PATCH] missing includes 2 --- net/batman-adv/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/batman-adv/debugfs.c b/net/batman-adv/debugfs.c index 4a43ee1..e54f0da 100644 --- a/net/batman-adv/debugfs.c +++ b/net/batman-adv/debugfs.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include "bridge_loop_avoidance.h"