summaryrefslogtreecommitdiffstats
path: root/sys/netpfil
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2015-11-03 22:23:09 +0000
committerae <ae@FreeBSD.org>2015-11-03 22:23:09 +0000
commit90239f5468d6e274580dc377bb18ecc61c5d542c (patch)
tree6caa99b8c9aeb973d48e3493b6f40a0fb95e61b7 /sys/netpfil
parent6ce8a39dbbb92ac7d400eaaa853f054e4ad5d0bd (diff)
downloadFreeBSD-src-90239f5468d6e274580dc377bb18ecc61c5d542c.zip
FreeBSD-src-90239f5468d6e274580dc377bb18ecc61c5d542c.tar.gz
Remove now obsolete KASSERT.
Actually, object classify callbacks can skip some opcodes, that could be rewritten. We will deteremine real numbed of rewritten opcodes a bit later in this function. Reported by: David H. Wolfskill <david at catwhisker dot org>
Diffstat (limited to 'sys/netpfil')
-rw-r--r--sys/netpfil/ipfw/ip_fw_table.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_table.c b/sys/netpfil/ipfw/ip_fw_table.c
index 673511e..71c96b2 100644
--- a/sys/netpfil/ipfw/ip_fw_table.c
+++ b/sys/netpfil/ipfw/ip_fw_table.c
@@ -3388,14 +3388,8 @@ ref_rule_objects(struct ip_fw_chain *ch, struct ip_fw *rule,
IPFW_UH_WUNLOCK(ch);
return (error);
}
-
IPFW_UH_WUNLOCK(ch);
- found = pidx - oib;
- KASSERT(found == ci->object_opcodes,
- ("refcount inconsistency: found: %d total: %d",
- found, ci->object_opcodes));
-
/* Perform auto-creation for non-existing objects */
if (numnew != 0)
error = create_objects_compat(ch, rule->cmd, oib, pidx, ti);
OpenPOWER on IntegriCloud