DragonFlyBSD Kernel Audit
DF-2133 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/drm/linux_dma-buf.c b/sys/dev/drm/linux_dma-buf.c
--- a/sys/dev/drm/linux_dma-buf.c
+++ b/sys/dev/drm/linux_dma-buf.c
@@ -132,6 +132,7 @@
 	dmabuf->ops = exp_info->ops;
 	dmabuf->size = exp_info->size;
 	dmabuf->file = fp;
+	dmabuf->resv = exp_info->resv;
 
 	return dmabuf;
 }