aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2005-09-04 17:33:40 +0000
committerSam Leffler <sam@FreeBSD.org>2005-09-04 17:33:40 +0000
commit245c31ccafcff1284c579ff1ea9618e8037fd325 (patch)
tree6ffdc551460ef13b62d698b20981605a5ba25ff0 /sys/netinet
parent62313e4c3f732126ae87a66639458e10000d969c (diff)
Notes
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 71c541670f508..77ac62fc8eab8 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) {