diff options
| author | Brian Feldman <green@FreeBSD.org> | 2004-10-11 03:45:21 +0000 | 
|---|---|---|
| committer | Brian Feldman <green@FreeBSD.org> | 2004-10-11 03:45:21 +0000 | 
| commit | a56aeb1e8c10dbd9dfb48d5939849a1d90736aa7 (patch) | |
| tree | 5cfc4f84f9a89a56256cf79a21ab439d90aca5a0 | |
| parent | aec9a222f05a0707ebc5694c162841b7b7edc78d (diff) | |
Notes
| -rw-r--r-- | sys/net/bpf.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index bfe8a91188e2..118d266a20f2 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1558,10 +1558,10 @@ bpf_setdlt(d, dlt)  	}  	mtx_unlock(&bpf_mtx);  	if (bp != NULL) { -		BPFD_LOCK(d);  		opromisc = d->bd_promisc;  		bpf_detachd(d);  		bpf_attachd(d, bp); +		BPFD_LOCK(d);  		reset_d(d);  		BPFD_UNLOCK(d);  		if (opromisc) {  | 
