]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto: Fix statistics of removed flow.
authorIlya Maximets <i.maximets@ovn.org>
Thu, 14 May 2020 18:20:56 +0000 (20:20 +0200)
committerIlya Maximets <i.maximets@ovn.org>
Fri, 15 May 2020 18:14:00 +0000 (20:14 +0200)
commitc36bba351ba7af8d48501dfa062a772f357536ba
tree4fff1c83a9972f70d8548b8bf5dcd4724b785972
parent3c18bb0fe9f23308061217f72e2245f0e311b20b
ofproto: Fix statistics of removed flow.

'fr' is a new variable on the stack.  '+=' here adds the real statistics
to a random stack memory.

Fixes: 164413156cf9 ("Add offload packets statistics")
Acked-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
ofproto/ofproto.c