Fix KASSERT introduced in r282155.
Found by: dhw
This commit is contained in:
parent
0a06cffc15
commit
caf993912e
@ -3399,9 +3399,10 @@ ref_rule_objects(struct ip_fw_chain *ch, struct ip_fw *rule,
|
||||
|
||||
IPFW_UH_WUNLOCK(ch);
|
||||
|
||||
KASSERT(found + unresolved == ci->object_opcodes,
|
||||
("refcount incosistency: found: %d unr: %d total: %d",
|
||||
found, unresolved, ci->object_opcodes));
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user