Source-Changes-HG archive

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

[src/trunk]: src/sys/netkey missing splx. Hajimu UMEMOTO via kame



details:   https://anonhg.NetBSD.org/src/rev/fb9c7de58f3e
branches:  trunk
changeset: 555775:fb9c7de58f3e
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Nov 27 18:26:46 2003 +0000

description:
missing splx.  Hajimu UMEMOTO via kame

diffstat:

 sys/netkey/key.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f47ff02f323e -r fb9c7de58f3e sys/netkey/key.c
--- a/sys/netkey/key.c  Thu Nov 27 16:32:09 2003 +0000
+++ b/sys/netkey/key.c  Thu Nov 27 18:26:46 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.106 2003/11/11 21:41:11 drochner Exp $       */
+/*     $NetBSD: key.c,v 1.107 2003/11/27 18:26:46 itojun Exp $ */
 /*     $KAME: key.c,v 1.310 2003/09/08 02:23:44 itojun Exp $   */
 
 /*
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.106 2003/11/11 21:41:11 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.107 2003/11/27 18:26:46 itojun Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -2619,6 +2619,7 @@
        mtod(result, struct sadb_msg *)->sadb_msg_len =
            PFKEY_UNIT64(result->m_pkthdr.len);
 
+       splx(s);
        return key_sendup_mbuf(NULL, result, KEY_SENDUP_REGISTERED);
 
  fail:



Home | Main Index | Thread Index | Old Index