commit | f6052cf2fc51772ea51e54c795b9ea234834ad9a | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Mon Jan 22 18:14:31 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 23 19:51:46 2018 -0500 |
tree | 1ecf84d1a926ba6a817f75fc8b9de8d817a7ca88 | |
parent | b76f4189df5c54a892ae54ac23908cc54ae7134f [diff] |
net/sched: act_csum: use per-core statistics use per-CPU counters, like other TC actions do, instead of maintaining one set of stats across all cores. This allows updating act_csum stats without the need of protecting them using spin_{,un}lock_bh() invocations. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>