clear lock on error in O_LIMIT case of install_state
Submitted by: Ted Unangst MFC after: 3 days
This commit is contained in:
parent
3a5df528dd
commit
36e4de77c6
@ -1515,6 +1515,7 @@ install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
|
||||
parent = lookup_dyn_parent(&id, rule);
|
||||
if (parent == NULL) {
|
||||
printf("ipfw: add parent failed\n");
|
||||
IPFW_DYN_UNLOCK();
|
||||
return 1;
|
||||
}
|
||||
if (parent->count >= cmd->conn_limit) {
|
||||
|
Loading…
Reference in New Issue
Block a user