ovs-rcu: Call ovsrcu_init() in ovsrcu_quiesce().
authorAlex Wang <alexw@nicira.com>
Wed, 19 Mar 2014 17:42:08 +0000 (10:42 -0700)
committerAlex Wang <alexw@nicira.com>
Wed, 19 Mar 2014 17:53:39 +0000 (10:53 -0700)
commitf1946fbe8300e906c30491387e565f3b58d7f049
tree518576d06c849693516ead06b1f9d44c1513908b
parent543ede7e3eaac62c14a061296722839829b0cef8
ovs-rcu: Call ovsrcu_init() in ovsrcu_quiesce().

This commit fixes a bug introduced by 0f2ea848(ovs-rcu: New library.).
It is possible that ovsrcu_quiesce() is called before ovsrcu_init().
So, it is necessary to call ovsrcu_init() in ovsrcu_quiesce().

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/ovs-rcu.c