Module Name: src
Committed By: pooka
Date: Fri Aug 27 07:40:01 UTC 2010
Modified Files:
src/sys/dev/putter: putter.c
Log Message:
waiters gonna wait, so call seldestroy to wake them up when we go south
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/putter/putter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/putter/putter.c
diff -u src/sys/dev/putter/putter.c:1.28 src/sys/dev/putter/putter.c:1.29
--- src/sys/dev/putter/putter.c:1.28 Sun Apr 11 09:36:47 2010
+++ src/sys/dev/putter/putter.c Fri Aug 27 07:40:01 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: putter.c,v 1.28 2010/04/11 09:36:47 pooka Exp $ */
+/* $NetBSD: putter.c,v 1.29 2010/08/27 07:40:01 pooka Exp $ */
/*
* Copyright (c) 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.28 2010/04/11 09:36:47 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.29 2010/08/27 07:40:01 pooka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -606,6 +606,7 @@
TAILQ_REMOVE(&putter_ilist, pi, pi_entries);
pi->pi_private = PUTTER_DEAD;
mutex_exit(&pi_mtx);
+ seldestroy(&pi->pi_sel);
DPRINTF(("putter_nukebypmp: nuked %p\n", pi));
}