diff options
author | 2009-06-17 00:39:43 -0400 | |
---|---|---|
committer | 2009-06-17 14:16:23 -0400 | |
commit | d47882078f05c2cb46b85f1e12a58ed9315b9d63 (patch) | |
tree | ad10f2172384d2112b6e8136b9981a0eb813539b /lib/fault-inject.c | |
parent | ring-buffer: check for less than two in size allocation (diff) | |
download | wireguard-linux-d47882078f05c2cb46b85f1e12a58ed9315b9d63.tar.xz wireguard-linux-d47882078f05c2cb46b85f1e12a58ed9315b9d63.zip |
ring-buffer: add locks around rb_per_cpu_empty
The checking of whether the buffer is empty or not needs to be serialized
among the readers. Add the reader spin lock around it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions