Fix: use after free in ring buffer clients
[lttng-modules.git] / lib / ringbuffer / backend_types.h
index 6813dd8b47a4127c3dbacc717c50742f96bbe561..1577c812bb93c1df71cb5f736d8c1de6c8a933f6 100644 (file)
@@ -83,6 +83,8 @@ struct channel_backend {
        unsigned long num_subbuf;       /* Number of sub-buffers for writer */
        u64 start_tsc;                  /* Channel creation TSC value */
        void *priv;                     /* Client-specific information */
+       void *priv_ops;                 /* Client-specific ops pointer */
+       void (*release_priv_ops)(void *priv_ops);
        struct notifier_block cpu_hp_notifier;   /* CPU hotplug notifier */
        /*
         * We need to copy config because the module containing the
This page took 0.028396 seconds and 4 git commands to generate.