Project

General

Profile

Bug #5536

BPF: destroying held mutex in bpfclose()

Added by Serghei Samsi about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
2015-01-13
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Line 554 in file /illumos-gate/usr/src/uts/common/io/bpf/bpf.c:


554 mutex_enter(&d->bd_lock);
555 mutex_destroy(&d->bd_lock);
556 cv_destroy(&d->bd_wait);
557
558 bpf_freed(d);
559 kmem_free(d, sizeof (*d));

Also available in: Atom PDF