Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/linux drm: Fix missing restart on race...
details: https://anonhg.NetBSD.org/src/rev/c09751cef8f4
branches: trunk
changeset: 1028948:c09751cef8f4
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 12:33:34 2021 +0000
description:
drm: Fix missing restart on race in dma_resv_get_fences_rcu.
diffstat:
sys/external/bsd/drm2/linux/linux_dma_resv.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 9d3f6039e663 -r c09751cef8f4 sys/external/bsd/drm2/linux/linux_dma_resv.c
--- a/sys/external/bsd/drm2/linux/linux_dma_resv.c Sun Dec 19 12:33:26 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_dma_resv.c Sun Dec 19 12:33:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_dma_resv.c,v 1.18 2021/12/19 12:32:53 riastradh Exp $ */
+/* $NetBSD: linux_dma_resv.c,v 1.19 2021/12/19 12:33:34 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_dma_resv.c,v 1.18 2021/12/19 12:32:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_dma_resv.c,v 1.19 2021/12/19 12:33:34 riastradh Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -818,6 +818,7 @@
GFP_KERNEL);
if (shared == NULL)
return -ENOMEM;
+ goto top;
}
/*
Home |
Main Index |
Thread Index |
Old Index