diff options
author | Girish Moodalbail <girish.moodalbail@oracle.com> | 2017-05-20 01:25:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-22 18:55:18 +0300 |
commit | 863483c970e968efd6a119a2118f57977d04cefe (patch) | |
tree | e9dcc36a9c3220ad76a48b1af92adaced19e2402 /net/ipv4/fib_semantics.c | |
parent | f5a64d64b5f5f42999f029f6c04f6dda19339566 (diff) | |
download | linux-863483c970e968efd6a119a2118f57977d04cefe.tar.xz |
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 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions