b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: netdev@vger.kernel.org, Tobias Klauser <tklauser@distanz.ch>,
	Antonio Quartulli <a@unstable.cc>,
	Marek Lindner <mareklindner@neomailbox.ch>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Use net_device_stats from struct net_device
Date: Wed, 05 Apr 2017 16:09:05 +0200	[thread overview]
Message-ID: <2848897.eWlOuJHVo0@bentobox> (raw)
In-Reply-To: <1491392791-30041-1-git-send-email-tklauser@distanz.ch>

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

On Mittwoch, 5. April 2017 13:46:31 CEST Tobias Klauser wrote:
> Instead of using a private copy of struct net_device_stats in struct
> batadv_priv, use stats from struct net_device.
> 
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
> ---
>  net/batman-adv/distributed-arp-table.c | 9 +++++----
>  net/batman-adv/soft-interface.c        | 2 +-
>  net/batman-adv/types.h                 | 2 --
>  3 files changed, 6 insertions(+), 7 deletions(-)

Nice find. I had to look up when the code was introduced and when the
common netdev stats member was added. Interestingly, both were from
2007 :)

Applied in ab044f8e3eaf84c4cc95d7606fadfdfa006dc8ec [1]

Thanks,
	Sven

[1] https://git.open-mesh.org/linux-merge.git/commit/ab044f8e3eaf84c4cc95d7606fadfdfa006dc8ec

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

      reply	other threads:[~2017-04-05 14:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 11:46 [B.A.T.M.A.N.] [PATCH] batman-adv: Use net_device_stats from struct net_device Tobias Klauser
2017-04-05 14:09 ` Sven Eckelmann [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=2848897.eWlOuJHVo0@bentobox \
    --to=sven@narfation.org \
    --cc=a@unstable.cc \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=mareklindner@neomailbox.ch \
    --cc=netdev@vger.kernel.org \
    --cc=tklauser@distanz.ch \
    /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;
as well as URLs for NNTP newsgroup(s).