Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108322448
D42462.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
406 B
Referenced Files
None
Subscribers
None
D42462.diff
View Options
diff --git a/sys/net/if_tuntap.c b/sys/net/if_tuntap.c
--- a/sys/net/if_tuntap.c
+++ b/sys/net/if_tuntap.c
@@ -1413,8 +1413,7 @@
else
af = RO_GET_FAMILY(ro, dst);
- if (bpf_peers_present(ifp->if_bpf))
- bpf_mtap2(ifp->if_bpf, &af, sizeof(af), m0);
+ BPF_MTAP2(ifp, &af, sizeof(af), m0);
/* prepend sockaddr? this may abort if the mbuf allocation fails */
if (cached_tun_flags & TUN_LMODE) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 8:52 PM (20 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16102925
Default Alt Text
D42462.diff (406 B)
Attached To
Mode
D42462: if_tuntap: improve consistency
Attached
Detach File
Event Timeline
Log In to Comment