diff options
-rw-r--r-- | sys/netgraph/netflow/netflow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/netflow/netflow.c b/sys/netgraph/netflow/netflow.c index 5a9932ee..8ec5629 100644 --- a/sys/netgraph/netflow/netflow.c +++ b/sys/netgraph/netflow/netflow.c @@ -970,6 +970,7 @@ struct ngnf_show_header *resp) if (hsh->mtx.mtx_lock & MTX_CONTESTED) { resp->hash_id = i; resp->list_id = list_id; + mtx_unlock(&hsh->mtx); return (0); } @@ -1001,6 +1002,7 @@ struct ngnf_show_header *resp) * we simply skip to next hash_id. */ resp->list_id = list_id + 1; + mtx_unlock(&hsh->mtx); return (0); } } |