[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170522.115548.899380883537075549.davem@davemloft.net>
Date: Mon, 22 May 2017 11:55:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: girish.moodalbail@...cle.com
Cc: netdev@...r.kernel.org, sd@...asysnail.net
Subject: Re: [PATCH net-next] macsec: double accounting of dropped rx/tx
packets
From: Girish Moodalbail <girish.moodalbail@...cle.com>
Date: Fri, 19 May 2017 15:25:44 -0700
> The macsec implementation shouldn't account for rx/tx packets that are
> dropped in the netdev framework. The netdev framework itself accounts
> for such packets by atomically updating struct net_device`rx_dropped and
> struct net_device`tx_dropped fields. Later on when the stats for macsec
> link is retrieved, the packets dropped in netdev framework will be
> included in dev_get_stats() after calling macsec.c`macsec_get_stats64()
>
> Signed-off-by: Girish Moodalbail <girish.moodalbail@...cle.com>
This looks correct to me.
Applied, thank you.
Powered by blists - more mailing lists