]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blobdiff - drivers/gpu/nvgpu/gk20a/channel_gk20a.h
gpu: nvgpu: fix use-after-free in case of error notifier
[sojka/nv-tegra/linux-3.10.git] / drivers / gpu / nvgpu / gk20a / channel_gk20a.h
index 00721c6c17294d9d95d29382d333b9fd73543d53..465fe64d35089c9970b38111aba94883aabee044 100644 (file)
@@ -170,6 +170,7 @@ struct channel_gk20a {
        struct dma_buf *error_notifier_ref;
        struct nvgpu_notification *error_notifier;
        void *error_notifier_va;
+       struct mutex error_notifier_mutex;
 
        struct mutex sync_lock;
        struct gk20a_channel_sync *sync;