Module Name: src
Committed By: christos
Date: Sun Mar 10 21:01:19 UTC 2013
Modified Files:
src/sys/rump/net/lib/libnpf: Makefile component.c
Log Message:
remember to detach and add if_npflog module
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/rump/net/lib/libnpf/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/libnpf/component.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/rump/net/lib/libnpf/Makefile
diff -u src/sys/rump/net/lib/libnpf/Makefile:1.4 src/sys/rump/net/lib/libnpf/Makefile:1.5
--- src/sys/rump/net/lib/libnpf/Makefile:1.4 Fri Feb 8 22:35:34 2013
+++ src/sys/rump/net/lib/libnpf/Makefile Sun Mar 10 17:01:19 2013
@@ -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_inet.c npf_instr.c npf_mbuf.c
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
Index: src/sys/rump/net/lib/libnpf/component.c
diff -u src/sys/rump/net/lib/libnpf/component.c:1.1 src/sys/rump/net/lib/libnpf/component.c:1.2
--- src/sys/rump/net/lib/libnpf/component.c:1.1 Tue Aug 14 18:31:44 2012
+++ src/sys/rump/net/lib/libnpf/component.c Sun Mar 10 17:01:19 2013
@@ -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 @@ RUMP_COMPONENT(RUMP_COMPONENT_DEV)
if (error) {
panic("npf device node creation failed: %d", error);
}
+ devsw_detach(NULL, &npf_cdevsw);
}