dpif-netdev: Remove support for DPIF_FP_ZERO_STATS flag
authorDaniele Di Proietto <diproiettod@vmware.com>
Wed, 1 Apr 2015 16:20:57 +0000 (17:20 +0100)
committerEthan Jackson <ethan@nicira.com>
Fri, 3 Apr 2015 00:55:17 +0000 (17:55 -0700)
commit97447f55a9678739a64d10db9401858cf040abcf
treeb5a1837ac43c4190560c99a78f77759c0eea7541
parent73c33892acabe104ddd3d87561d368f3b75d3047
dpif-netdev: Remove support for DPIF_FP_ZERO_STATS flag

Since flow statistics are thread local and updated without any lock,
it is not correct to do a memset from another thread.

This commit simply removes the support for the flag.  It is not needed
by ofproto-dpif, it is only exposed by dpctl commands.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/dpif-netdev.c