diff options
author | 2017-05-19 15:25:44 -0700 | |
---|---|---|
committer | 2017-05-22 11:55:18 -0400 | |
commit | 863483c970e968efd6a119a2118f57977d04cefe (patch) | |
tree | e9dcc36a9c3220ad76a48b1af92adaced19e2402 /net/ipv4/fib_frontend.c | |
parent | net: Fix parisc SCM_TIMESTAMPING_PKTINFO value. (diff) | |
download | linux-863483c970e968efd6a119a2118f57977d04cefe.tar.gz linux-863483c970e968efd6a119a2118f57977d04cefe.tar.bz2 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 'net/ipv4/fib_frontend.c')
0 files changed, 0 insertions, 0 deletions