diff options
author | Thadeu Lima de Souza Cascardo <cascardo@redhat.com> | 2016-09-16 00:11:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-19 04:14:01 +0200 |
commit | 40773966ccf1985a1b2bb570a03cbeaf1cbd4e00 (patch) | |
tree | f94c6d8663b6e6131e6c06fde5849b719e7d3e2a /net/openvswitch/flow.h | |
parent | Merge branch 'sctp-transmit-errs' (diff) | |
download | linux-40773966ccf1985a1b2bb570a03cbeaf1cbd4e00.tar.xz linux-40773966ccf1985a1b2bb570a03cbeaf1cbd4e00.zip |
openvswitch: fix flow stats accounting when node 0 is not possible
On a system with only node 1 as possible, all statistics is going to be
accounted on node 0 as it will have a single writer.
However, when getting and clearing the statistics, node 0 is not going
to be considered, as it's not a possible node.
Tested that statistics are not zero on a system with only node 1
possible. Also compile-tested with CONFIG_NUMA off.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/flow.h')
0 files changed, 0 insertions, 0 deletions