~lttng/lttng-modules/trunk

Viewing all changes in revision 1368.

  • Committer: Mathieu Desnoyers
  • Date: 2020-07-13 18:59:33 UTC
  • Revision ID: git-v1:ab036a634622df4e3657f3936ba688e2c0d12c50
Fix: Lock metadata cache on session destroy

commit 92143b2c5656 ("Fix: metadata stream leak, missing list removal and locking")
missed taking a lock protecting the metadata stream list iteration on
session destroy. This opens a race window between iteration and item
removal/free which triggers kernel OOPS.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: