Page MenuHomeFreeBSD

D2348.diff
No OneTemporary

D2348.diff

Index: head/sys/dev/virtio/network/if_vtnet.c
===================================================================
--- head/sys/dev/virtio/network/if_vtnet.c
+++ head/sys/dev/virtio/network/if_vtnet.c
@@ -2745,6 +2745,11 @@
struct vtnet_txq *txq;
int i;
+#ifdef DEV_NETMAP
+ if (nm_native_on(NA(sc->vtnet_ifp)))
+ return;
+#endif /* DEV_NETMAP */
+
for (i = 0; i < sc->vtnet_act_vq_pairs; i++) {
rxq = &sc->vtnet_rxqs[i];
vtnet_rxq_free_mbufs(rxq);

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 4:51 AM (9 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15594534
Default Alt Text
D2348.diff (463 B)

Event Timeline