diff options
author | Ioana Radulescu <ruxandra.radulescu@freescale.com> | 2013-08-20 13:22:31 (GMT) |
---|---|---|
committer | Rivera Jose-B46482 <German.Rivera@freescale.com> | 2013-08-26 18:45:28 (GMT) |
commit | cfcf5698abc686331d7b79b412b4d1bebdb09424 (patch) | |
tree | 2904614dd71b0a11ded78479f66d952379a07e74 /include/linux/vfs.h | |
parent | 0a6e063d5f038cf04cbe1df0028ce2b12b3d2e7d (diff) | |
download | linux-fsl-qoriq-cfcf5698abc686331d7b79b412b4d1bebdb09424.tar.xz |
dpaa_eth: Fix double counting of dropped frames
When the stack drops an incoming frame it also increments the
rx_dropped counter in the netdevice stats. We were also updating
this counter inside the driver, resulting in incorrect statistics
for dropped frames.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I16d6819d80d01ee7bf0400736acbe5d95fa04f25
Reviewed-on: http://git.am.freescale.net:8181/4187
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
Diffstat (limited to 'include/linux/vfs.h')
0 files changed, 0 insertions, 0 deletions