Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/external/bsd/drm2/linux Pull up following revision(s)...
details: https://anonhg.NetBSD.org/src/rev/6b92254ce41e
branches: netbsd-7
changeset: 799791:6b92254ce41e
user: snj <snj%NetBSD.org@localhost>
date: Thu Feb 11 23:11:31 2016 +0000
description:
Pull up following revision(s) (requested by riastradh in ticket #1086):
sys/external/bsd/drm2/linux/linux_work.c: revision 1.12
Avoid NULL dereference in linux_worker_intr() in WORK_DELAYED_CANCELLED case.
Potentially fixes PR#49560.
diffstat:
sys/external/bsd/drm2/linux/linux_work.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e09369db9c13 -r 6b92254ce41e sys/external/bsd/drm2/linux/linux_work.c
--- a/sys/external/bsd/drm2/linux/linux_work.c Thu Feb 11 23:08:41 2016 +0000
+++ b/sys/external/bsd/drm2/linux/linux_work.c Thu Feb 11 23:11:31 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_work.c,v 1.7.2.1 2014/09/21 18:03:33 snj Exp $ */
+/* $NetBSD: linux_work.c,v 1.7.2.2 2016/02/11 23:11:31 snj Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.7.2.1 2014/09/21 18:03:33 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.7.2.2 2016/02/11 23:11:31 snj Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -849,7 +849,7 @@
}
/* Either way, the callout is done. */
- TAILQ_REMOVE(&dw->work.w_wq->wq_delayed, dw, dw_entry);
+ TAILQ_REMOVE(&wq->wq_delayed, dw, dw_entry);
callout_destroy(&dw->dw_callout);
mutex_exit(&wq->wq_lock);
Home |
Main Index |
Thread Index |
Old Index