Module Name: src
Committed By: snj
Date: Sat Jan 30 19:53:21 UTC 2010
Modified Files:
src/sys/kern [netbsd-5]: sys_aio.c
Log Message:
Pull up following revision(s) (requested by rmind in ticket #1286):
sys/kern/sys_aio.c: revision 1.25
aio_suspend1: fix a double free bug.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/kern/sys_aio.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/kern/sys_aio.c
diff -u src/sys/kern/sys_aio.c:1.19 src/sys/kern/sys_aio.c:1.19.8.1
--- src/sys/kern/sys_aio.c:1.19 Mon May 26 17:45:51 2008
+++ src/sys/kern/sys_aio.c Sat Jan 30 19:53:21 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_aio.c,v 1.19 2008/05/26 17:45:51 rmind Exp $ */
+/* $NetBSD: sys_aio.c,v 1.19.8.1 2010/01/30 19:53:21 snj Exp $ */
/*
* Copyright (c) 2007, Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.19 2008/05/26 17:45:51 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.19.8.1 2010/01/30 19:53:21 snj Exp $");
#include "opt_ddb.h"
@@ -801,9 +801,6 @@
mutex_enter(&aio->aio_mtx);
continue;
}
-
- kmem_free(aiocbp_list,
- nent * sizeof(struct aio_job));
return error;
}
}