public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH v12 11/11] batctl: Use debugfs fallback when netlink not supported
Date: Fri, 22 Jul 2016 17:11:44 +0800	[thread overview]
Message-ID: <2939805.ehlbhc0Aqg@voltaire> (raw)
In-Reply-To: <1468958992-2972-1-git-send-email-sven@narfation.org>

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

On Tuesday, July 19, 2016 22:09:52 Sven Eckelmann wrote:
> The batman-adv release v2016.2 already has the batadv netlink family . Thus
> the fallback to debugfs not only has to be triggered when the the netlink
> family doesn't exist but also when the cmd returns a -EOPNOTSUPP. This
> still has the problem that the header is generated via a different command
> then the actual table entries. Falling back to debugfs would cause a second
> header entry for the table.
> 
> The header print functionality is therefore refactored to only gather the
> data for the header and print the actual header either with the first
> received entry or when the CMD finished without any result.
> 
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> v12:
>  - also use debugfs for originators/gwl when get_mesh_info is not supported
> ---
>  functions.h |   1 -
>  netlink.c   | 150
> ++++++++++++++++++++++++++++++++++++++++-------------------- 2 files
> changed, 101 insertions(+), 50 deletions(-)

Applied in revision 5401c71.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

      reply	other threads:[~2016-07-22  9:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 10:11 [B.A.T.M.A.N.] [PATCH v11 00/11] batctl: netns and netlink support Sven Eckelmann
2016-07-18 10:11 ` [B.A.T.M.A.N.] [PATCH v11 01/11] batctl: netlink: add gateway table queries Sven Eckelmann
2016-07-18 10:11 ` [B.A.T.M.A.N.] [PATCH v11 02/11] batctl: add B.A.T.M.A.N. Dump BLA claims via netlink Sven Eckelmann
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 03/11] batctl: add backbone table netlink support Sven Eckelmann
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 04/11] batctl: Use netlink to replace some of debugfs Sven Eckelmann
2016-07-22  9:00   ` Marek Lindner
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 05/11] batctl: add netlink dump function for backbone tables Sven Eckelmann
2016-07-22  9:02   ` Marek Lindner
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 06/11] batctl: add netlink dump support for B.A.T.M.A.N. V gateways Sven Eckelmann
2016-07-22  9:04   ` Marek Lindner
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 07/11] batctl: Import alfred version of debugfs.* Sven Eckelmann
2016-07-22  9:05   ` Marek Lindner
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 08/11] batctl: Split translate_mac from debugfs backend Sven Eckelmann
2016-07-22  9:06   ` Marek Lindner
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 09/11] batctl: Translate mac addresses via netlink Sven Eckelmann
2016-07-22  9:07   ` Marek Lindner
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 10/11] batctl: Document a network namespaces example Sven Eckelmann
2016-07-22  9:10   ` Marek Lindner
2016-07-18 10:12 ` [B.A.T.M.A.N.] [PATCH v11 11/11] batctl: Use debugfs fallback when netlink not supported Sven Eckelmann
2016-07-19 20:09   ` [B.A.T.M.A.N.] [PATCH v12 " Sven Eckelmann
2016-07-22  9:11     ` Marek Lindner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2939805.ehlbhc0Aqg@voltaire \
    --to=mareklindner@neomailbox.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox