Page MenuHomeFreeBSD

D17896.1777642898.diff
No OneTemporary

Size
688 B
Referenced Files
None
Subscribers
None

D17896.1777642898.diff

Index: head/sys/dev/netmap/netmap.c
===================================================================
--- head/sys/dev/netmap/netmap.c
+++ head/sys/dev/netmap/netmap.c
@@ -449,6 +449,7 @@
#include <machine/bus.h> /* bus_dmamap_* */
#include <sys/endian.h>
#include <sys/refcount.h>
+#include <net/ethernet.h> /* ETHER_BPF_MTAP */
#elif defined(linux)
@@ -3859,6 +3860,10 @@
RD(1, "%s drop mbuf that needs generic segmentation offload", na->name);
goto done;
}
+
+#ifdef __FreeBSD__
+ ETHER_BPF_MTAP(ifp, m);
+#endif /* __FreeBSD__ */
/* protect against netmap_rxsync_from_host(), netmap_sw_to_nic()
* and maybe other instances of netmap_transmit (the latter

File Metadata

Mime Type
text/plain
Expires
Fri, May 1, 1:41 PM (8 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28526915
Default Alt Text
D17896.1777642898.diff (688 B)

Event Timeline