Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/opencrypto Fix return value of cryptodev_msessionfin.



details:   https://anonhg.NetBSD.org/src/rev/7d730c65f3ef
branches:  trunk
changeset: 789893:7d730c65f3ef
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 12 13:02:37 2013 +0000

description:
Fix return value of cryptodev_msessionfin.

diffstat:

 sys/opencrypto/cryptodev.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 154cb4381b79 -r 7d730c65f3ef sys/opencrypto/cryptodev.c
--- a/sys/opencrypto/cryptodev.c        Thu Sep 12 12:57:48 2013 +0000
+++ b/sys/opencrypto/cryptodev.c        Thu Sep 12 13:02:37 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cryptodev.c,v 1.68 2011/07/04 16:06:17 joerg Exp $ */
+/*     $NetBSD: cryptodev.c,v 1.69 2013/09/12 13:02:37 martin Exp $ */
 /*     $FreeBSD: src/sys/opencrypto/cryptodev.c,v 1.4.2.4 2003/06/03 00:09:02 sam Exp $        */
 /*     $OpenBSD: cryptodev.c,v 1.53 2002/07/10 22:21:30 mickey Exp $   */
 
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.68 2011/07/04 16:06:17 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.69 2013/09/12 13:02:37 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1767,7 +1767,7 @@
                mutex_enter(&crypto_mtx);
        }
        mutex_exit(&crypto_mtx);
-       return 0;
+       return error;
 }
 
 /*



Home | Main Index | Thread Index | Old Index