Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161608355
D5318.id13409.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
523 B
Referenced Files
None
Subscribers
None
D5318.id13409.diff
View Options
Index: sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
===================================================================
--- sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
+++ sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
@@ -2276,6 +2276,11 @@
bus_dma_tag_destroy(txr->hn_tx_data_dtag);
if (txr->hn_tx_rndis_dtag != NULL)
bus_dma_tag_destroy(txr->hn_tx_rndis_dtag);
+
+#ifdef HN_USE_TXDESC_BUFRING
+ buf_ring_free(txr->hn_txdesc_br, M_NETVSC);
+#endif
+
free(txr->hn_txdesc, M_NETVSC);
txr->hn_txdesc = NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 7:18 AM (12 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34742936
Default Alt Text
D5318.id13409.diff (523 B)
Attached To
Mode
D5318: hyperv/hn: Free the txdesc buf_ring when the TX ring is destroyed
Attached
Detach File
Event Timeline
Log In to Comment