Module Name: src Committed By: christos Date: Mon Oct 19 00:29:57 UTC 2015
Modified Files: src/sys/net/npf: npf.c Log Message: Fix the code so that it works in all 3 cases: non-modular, modular/builtin, modular/filesystem. In the non-modular case we initialize through attach. In the modular/builtin case we define the module to be class misc so it attaches late (after percpu is initialized) since driver modules attach too early. In the modular/filesystem case we define it to be a driver module since we autoload it via /dev/npf open. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/net/npf/npf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.