summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_fw2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 71c5416..77ac62f 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -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) {
OpenPOWER on IntegriCloud