Fix: Missing rcu read side lock in consumer
authorDavid Goulet <dgoulet@efficios.com>
Fri, 28 Sep 2012 16:08:15 +0000 (12:08 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 28 Sep 2012 16:08:15 +0000 (12:08 -0400)
commitd09e1200ec761aef77c721bd648a299eefcc8565
tree977ae01fed28f4484f58fadccbe64b390679ee6e
parent529f6ac258480d9b6d21499927901b8d734a2597
Fix: Missing rcu read side lock in consumer

The metadata thread was not using rcu read side lock for its operations
on the internal metadata hash table.

This led to faulty free() when destroying the hash table and possible
corrupted data when it was resized.

Also change some static definition of calls inside consumer.c.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
src/common/consumer.h
This page took 0.024828 seconds and 4 git commands to generate.