Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106031903
D2348.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
463 B
Referenced Files
None
Subscribers
None
D2348.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2348: Don't free mbufs when stopping an interface in netmap mode.
Attached
Detach File
Event Timeline
Log In to Comment