lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161123073431.Horde.JMylwjcAn8TA3xQWzd6Asnb@webmail.zebralla-it.de>
Date:   Wed, 23 Nov 2016 07:34:31 +0000
From:   daniel.hopf@...ralla-it.de
To:     netdev@...r.kernel.org
Subject: [PATCH iproute2 v2] macsec: Nr. of packets and octets for macsec tx
 stats were swapped.

Resent from other mail address due to our company mail  
[clients|servers] stupidly forcing
line-breaks on plain-text e-mails. Also changed the subject format as  
suggested by Sabrina
and Rami.

Acked-by: Rami Rosen <roszenrami@...il.com>
Acked-by: Sabrina Dubroca <sd@...asysnail.net>
Signed-off-by: Daniel Hopf <daniel.hopf@...tinental-corporation.com>
---
  ip/ipmacsec.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ip/ipmacsec.c b/ip/ipmacsec.c
index c9252bb..aa89a00 100644
--- a/ip/ipmacsec.c
+++ b/ip/ipmacsec.c
@@ -634,10 +634,10 @@ static void print_one_stat(const char **names,  
struct rtattr **attr, int idx,
  }

  static const char *txsc_stats_names[NUM_MACSEC_TXSC_STATS_ATTR] = {
-	[MACSEC_TXSC_STATS_ATTR_OUT_PKTS_PROTECTED] = "OutOctetsProtected",
-	[MACSEC_TXSC_STATS_ATTR_OUT_PKTS_ENCRYPTED] = "OutOctetsEncrypted",
-	[MACSEC_TXSC_STATS_ATTR_OUT_OCTETS_PROTECTED] = "OutPktsProtected",
-	[MACSEC_TXSC_STATS_ATTR_OUT_OCTETS_ENCRYPTED] = "OutPktsEncrypted",
+	[MACSEC_TXSC_STATS_ATTR_OUT_PKTS_PROTECTED] = "OutPktsProtected",
+	[MACSEC_TXSC_STATS_ATTR_OUT_PKTS_ENCRYPTED] = "OutPktsEncrypted",
+	[MACSEC_TXSC_STATS_ATTR_OUT_OCTETS_PROTECTED] = "OutOctetsProtected",
+	[MACSEC_TXSC_STATS_ATTR_OUT_OCTETS_ENCRYPTED] = "OutOctetsEncrypted",
  };

  static void print_txsc_stats(const char *prefix, struct rtattr *attr)
--
2.9.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ