summaryrefslogtreecommitdiffstats
path: root/sys/netpfil/pf/pf.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-01-06 08:39:06 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-01-06 08:39:06 +0000
commit58319f89eda38d1dc696f111cc42d2d214d8ccff (patch)
treea5e7a3fd22ce3f80a230b2700ccaded3be4bf96a /sys/netpfil/pf/pf.c
parent79180fcfff0facb4df389882a123b851c81c660b (diff)
downloadFreeBSD-src-58319f89eda38d1dc696f111cc42d2d214d8ccff.zip
FreeBSD-src-58319f89eda38d1dc696f111cc42d2d214d8ccff.tar.gz
Merge: r258322 from projects/pf branch
Split functions that initialize various pf parts into their vimage parts and global parts. Since global parts appeared to be only mutex initializations, just abandon them and use MTX_SYSINIT() instead. Kill my incorrect VNET_FOREACH() iterator and instead use correct approach with VNET_SYSINIT(). PR: 194515 Differential Revision: D1309 Submitted by: glebius, Nikos Vassiliadis <nvass@gmx.com> Reviewed by: trociny, zec, gnn
Diffstat (limited to 'sys/netpfil/pf/pf.c')
-rw-r--r--sys/netpfil/pf/pf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
index 15667a6..bfa273f 100644
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -290,8 +290,6 @@ static void pf_route6(struct mbuf **, struct pf_rule *, int,
int in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len);
-VNET_DECLARE(int, pf_end_threads);
-
VNET_DEFINE(struct pf_limit, pf_limits[PF_LIMIT_MAX]);
#define PACKET_LOOPED(pd) ((pd)->pf_mtag && \
OpenPOWER on IntegriCloud