Page MenuHomeFreeBSD

D17896.diff
No OneTemporary

D17896.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
Wed, Jan 21, 10:11 PM (1 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27821882
Default Alt Text
D17896.diff (688 B)

Event Timeline