Page MenuHomeFreeBSD

D42462.diff
No OneTemporary

D42462.diff

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

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)

Event Timeline