diff options
author | Girish Moodalbail <girish.moodalbail@oracle.com> | 2017-05-20 00:25:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-22 17:55:18 +0200 |
commit | 863483c970e968efd6a119a2118f57977d04cefe (patch) | |
tree | e9dcc36a9c3220ad76a48b1af92adaced19e2402 /include/net/ip_fib.h | |
parent | net: Fix parisc SCM_TIMESTAMPING_PKTINFO value. (diff) | |
download | linux-863483c970e968efd6a119a2118f57977d04cefe.tar.xz linux-863483c970e968efd6a119a2118f57977d04cefe.zip |
macsec: double accounting of dropped rx/tx packets
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@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
0 files changed, 0 insertions, 0 deletions