Fix: consumer signal handling race
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 5 Sep 2015 23:58:29 +0000 (19:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 13:43:42 +0000 (09:43 -0400)
commita04821e0fb5919edd3130dc56dc14bd2ca3b6ee4
treeda3e7c8f5e72915105383ad6d07883c3c8d3c62f
parent5474911e8be564728c5adcb70cb161af609caad7
Fix: consumer signal handling race

If a signal comes in after ctx has been destroyed, it will try to use a
closed file descriptor.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.c
src/bin/lttng-sessiond/main.c
This page took 0.024853 seconds and 4 git commands to generate.