commit | 3bb502f83080ad28abdd7404f29aa2fc743b28b5 | [log] [tgz] |
---|---|---|
author | Iyappan Subramanian <isubramanian@apm.com> | Fri May 13 16:53:00 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 13 21:12:06 2016 -0400 |
tree | c779ca4ce0daff518722ee0b0d96210d6c54855c | |
parent | 1b090a4839f6c74af2dc42872c9e9dc9d7c60a99 [diff] |
drivers: net: xgene: fix statistics counters race condition This patch fixes the race condition on updating the statistics counters by moving the counters to the ring structure. Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Tested-by: Toan Le <toanle@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>