perf-counter: initialize perf counter shash before use
authorAndy Zhou <azhou@nicira.com>
Wed, 15 Jul 2015 20:22:00 +0000 (13:22 -0700)
committerAndy Zhou <azhou@nicira.com>
Fri, 17 Jul 2015 19:24:22 +0000 (12:24 -0700)
commitcd747abb601183ab6f10420d5637951d5d4c6206
treedb63fcb1c8e7e2bab773a917a91ef486b7773324
parent8b34ccdadfbbf6c20dcec1068368029a29afc40a
perf-counter: initialize perf counter shash before use

Private variable perf_counters needs to be initialized before
use. Otherwise,  perf_counter_init() call will cause crashes.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/perf-counter.c