From d10762bec798133f31617d3978e0e684a7beaa8d Mon Sep 17 00:00:00 2001 From: bz Date: Wed, 20 Apr 2011 07:55:33 +0000 Subject: [PATCH] MFp4 CH=191466: Move fw_one_pass to where it belongs: it is a property of ipfw, not of ip_input. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days --- sys/netinet/ip_input.c | 2 -- sys/netinet/ipfw/ip_fw2.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index e3aae04855cd..daeda8d2ca95 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -218,8 +218,6 @@ SYSCTL_VNET_INT(_net_inet_ip, OID_AUTO, output_flowtable_size, CTLFLAG_RDTUN, "number of entries in the per-cpu output flow caches"); #endif -VNET_DEFINE(int, fw_one_pass) = 1; - static void ip_freef(struct ipqhead *, struct ipq *); /* diff --git a/sys/netinet/ipfw/ip_fw2.c b/sys/netinet/ipfw/ip_fw2.c index 119b9a1a77c3..9a75cf523dd1 100644 --- a/sys/netinet/ipfw/ip_fw2.c +++ b/sys/netinet/ipfw/ip_fw2.c @@ -113,6 +113,7 @@ static int default_to_accept; #endif VNET_DEFINE(int, autoinc_step); +VNET_DEFINE(int, fw_one_pass) = 1; /* * Each rule belongs to one of 32 different sets (0..31).