Fix: ust-consumerd: set `hangup_flush_done` in a locked context
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 21 Jun 2022 20:21:17 +0000 (16:21 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Aug 2022 15:17:54 +0000 (11:17 -0400)
commitf4616c0a5a5b95029bd48a8b78e5b4c484b3a548
treece293cac3a4c1cb7a000036e4403712aa77bbd4e
parentb7238f7cfdcc67f4c254c03004989156c13c4c15
Fix: ust-consumerd: set `hangup_flush_done` in a locked context

hangup_flush_done is updated after releasing the stream lock. This
doesn't appear to be a problem right now since this attribute is
apparently always accessed by the same thread, but it is conceptually
sus.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I191cb01b02c3d96e19034e0d0e80cb7f8dff2140
src/common/ust-consumer/ust-consumer.c
This page took 0.026001 seconds and 4 git commands to generate.