Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157324100
D55064.id171181.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
342 B
Referenced Files
None
Subscribers
None
D55064.id171181.diff
View Options
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -678,8 +678,8 @@
BPFD_LOCK(d);
CK_LIST_REMOVE(d, bd_next);
writer = (d->bd_writer > 0);
- d->bd_bif = NULL;
if (detached_ifp) {
+ d->bd_bif = NULL;
/*
* Notify descriptor as it's detached, so that any
* sleepers wake up and get ENXIO.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 21, 8:28 AM (3 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33376226
Default Alt Text
D55064.id171181.diff (342 B)
Attached To
Mode
D55064: bpf: don't clear pointer from descriptor to the tap on descriptor close
Attached
Detach File
Event Timeline
Log In to Comment