Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/net/npf Pull up following revision(s) (requested by p...



details:   https://anonhg.NetBSD.org/src/rev/f920012e17c1
branches:  netbsd-8
changeset: 434156:f920012e17c1
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Jul 25 02:17:16 2017 +0000

description:
Pull up following revision(s) (requested by pgoyette in ticket #155):
        sys/net/npf/npf_os.c: revision 1.7
The npf module depends on some stuff from the bpf module, so set the
required modules list accordingly.

diffstat:

 sys/net/npf/npf_os.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 175a6acfb913 -r f920012e17c1 sys/net/npf/npf_os.c
--- a/sys/net/npf/npf_os.c      Tue Jul 25 02:15:19 2017 +0000
+++ b/sys/net/npf/npf_os.c      Tue Jul 25 02:17:16 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_os.c,v 1.6 2017/01/27 17:25:34 ryo Exp $   */
+/*     $NetBSD: npf_os.c,v 1.6.8.1 2017/07/25 02:17:16 snj Exp $       */
 
 /*-
  * Copyright (c) 2009-2016 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.6 2017/01/27 17:25:34 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.6.8.1 2017/07/25 02:17:16 snj Exp $");
 
 #ifdef _KERNEL_OPT
 #include "pf.h"
@@ -79,10 +79,10 @@
  * So we make this misc; a better way would be to have early boot and late
  * boot drivers.
  */
-MODULE(MODULE_CLASS_MISC, npf, NULL);
+MODULE(MODULE_CLASS_MISC, npf, "bpf");
 #else
 /* This module autoloads via /dev/npf so it needs to be a driver */
-MODULE(MODULE_CLASS_DRIVER, npf, NULL);
+MODULE(MODULE_CLASS_DRIVER, npf, "bpf");
 #endif
 
 static int     npf_dev_open(dev_t, int, int, lwp_t *);



Home | Main Index | Thread Index | Old Index