Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnpf remember to detach and add if_npflog...



details:   https://anonhg.NetBSD.org/src/rev/a07238985ae2
branches:  trunk
changeset: 785360:a07238985ae2
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 10 21:01:19 2013 +0000

description:
remember to detach and add if_npflog module

diffstat:

 sys/rump/net/lib/libnpf/Makefile    |  3 ++-
 sys/rump/net/lib/libnpf/component.c |  5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r f2e5ab8baf3c -r a07238985ae2 sys/rump/net/lib/libnpf/Makefile
--- a/sys/rump/net/lib/libnpf/Makefile  Sun Mar 10 20:58:49 2013 +0000
+++ b/sys/rump/net/lib/libnpf/Makefile  Sun Mar 10 21:01:19 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2013/02/09 03:35:34 rmind Exp $
+#      $NetBSD: Makefile,v 1.5 2013/03/10 21:01:19 christos Exp $
 #
 # Public Domain.
 #
@@ -12,6 +12,7 @@
 SRCS+= npf_processor.c npf_ruleset.c npf_rproc.c npf_sendpkt.c
 SRCS+= npf_session.c npf_state.c npf_state_tcp.c
 SRCS+= npf_tableset.c npf_tableset_ptree.c
+SRCS+= if_npflog.c
 
 SRCS+= npf_alg_icmp.c
 
diff -r f2e5ab8baf3c -r a07238985ae2 sys/rump/net/lib/libnpf/component.c
--- a/sys/rump/net/lib/libnpf/component.c       Sun Mar 10 20:58:49 2013 +0000
+++ b/sys/rump/net/lib/libnpf/component.c       Sun Mar 10 21:01:19 2013 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: component.c,v 1.1 2012/08/14 22:31:44 rmind Exp $      */
+/*     $NetBSD: component.c,v 1.2 2013/03/10 21:01:19 christos Exp $   */
 
 /*
  * Public Domain.
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.1 2012/08/14 22:31:44 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.2 2013/03/10 21:01:19 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -31,4 +31,5 @@
        if (error) {
                panic("npf device node creation failed: %d", error);
        }
+       devsw_detach(NULL, &npf_cdevsw);
 }



Home | Main Index | Thread Index | Old Index