All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 v2] macsec: Nr. of packets and octets for macsec tx stats were swapped.
@ 2016-11-23  7:34 daniel.hopf
  2016-11-29 21:24 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: daniel.hopf @ 2016-11-23  7:34 UTC (permalink / raw)
  To: netdev

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@gmail.com>
Acked-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Daniel Hopf <daniel.hopf@continental-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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH iproute2 v2] macsec: Nr. of packets and octets for macsec tx stats were swapped.
  2016-11-23  7:34 [PATCH iproute2 v2] macsec: Nr. of packets and octets for macsec tx stats were swapped daniel.hopf
@ 2016-11-29 21:24 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2016-11-29 21:24 UTC (permalink / raw)
  To: daniel.hopf; +Cc: netdev

On Wed, 23 Nov 2016 07:34:31 +0000
daniel.hopf@zebralla-it.de wrote:

> 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@gmail.com>
> Acked-by: Sabrina Dubroca <sd@queasysnail.net>
> Signed-off-by: Daniel Hopf <daniel.hopf@continental-corporation.com>

Your mailer still corrupts patches. But since it was trivial I did change manually.
Will show up in next push.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-29 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23  7:34 [PATCH iproute2 v2] macsec: Nr. of packets and octets for macsec tx stats were swapped daniel.hopf
2016-11-29 21:24 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.