Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf remove the detach that does not belong here anym...



details:   https://anonhg.NetBSD.org/src/rev/7c939cb34d4c
branches:  trunk
changeset: 785380:7c939cb34d4c
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 11 01:42:12 2013 +0000

description:
remove the detach that does not belong here anymore.

diffstat:

 sys/net/npf/npf_ext_log.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5c25a5dc16fc -r 7c939cb34d4c sys/net/npf/npf_ext_log.c
--- a/sys/net/npf/npf_ext_log.c Mon Mar 11 00:39:32 2013 +0000
+++ b/sys/net/npf/npf_ext_log.c Mon Mar 11 01:42:12 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_ext_log.c,v 1.3 2013/03/10 20:51:44 christos Exp $ */
+/*     $NetBSD: npf_ext_log.c,v 1.4 2013/03/11 01:42:12 christos Exp $ */
 
 /*-
  * Copyright (c) 2010-2012 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_ext_log.c,v 1.3 2013/03/10 20:51:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_ext_log.c,v 1.4 2013/03/11 01:42:12 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/module.h>
@@ -134,7 +134,6 @@
                 */
                npf_ext_log_id = npf_ext_register("log", &npf_log_ops);
                if (!npf_ext_log_id) {
-                       npflogdetach();
                        return EEXIST;
                }
                break;



Home | Main Index | Thread Index | Old Index