diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-01-06 08:39:06 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-01-06 08:39:06 +0000 |
commit | 58319f89eda38d1dc696f111cc42d2d214d8ccff (patch) | |
tree | a5e7a3fd22ce3f80a230b2700ccaded3be4bf96a /sys/netpfil/pf/pf.c | |
parent | 79180fcfff0facb4df389882a123b851c81c660b (diff) | |
download | FreeBSD-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.c | 2 |
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 && \ |