Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167993796
D16917.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
711 B
Referenced Files
None
Subscribers
None
D16917.diff
View Options
Index: sys/dev/xen/netfront/netfront.c
===================================================================
--- sys/dev/xen/netfront/netfront.c
+++ sys/dev/xen/netfront/netfront.c
@@ -681,7 +681,7 @@
static void
destroy_rxq(struct netfront_rxq *rxq)
{
-
+ mtx_destroy(&rxq->lock);
callout_drain(&rxq->rx_refill);
free(rxq->ring.sring, M_DEVBUF);
}
@@ -778,7 +778,7 @@
static void
destroy_txq(struct netfront_txq *txq)
{
-
+ mtx_destroy(&txq->lock);
free(txq->ring.sring, M_DEVBUF);
buf_ring_free(txq->br, M_DEVBUF);
taskqueue_drain_all(txq->tq);
@@ -2280,6 +2280,7 @@
if_free(np->xn_ifp);
np->xn_ifp = NULL;
ifmedia_removeall(&np->sc_media);
+ mtx_destroy(&np->sc_lock);
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 26, 7:48 PM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37323396
Default Alt Text
D16917.diff (711 B)
Attached To
Mode
D16917: Xen netfront: Fixed missing mutex destruction
Attached
Detach File
Event Timeline
Log In to Comment