Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147724455
D6608.id17220.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6608.id17220.diff
View Options
Index: head/sys/dev/xen/netfront/netfront.c
===================================================================
--- head/sys/dev/xen/netfront/netfront.c
+++ head/sys/dev/xen/netfront/netfront.c
@@ -663,7 +663,7 @@
xn_release_rx_bufs(rxq);
gnttab_free_grant_references(rxq->gref_head);
- gnttab_end_foreign_access_ref(rxq->ring_ref);
+ gnttab_end_foreign_access(rxq->ring_ref, NULL);
/*
* No split event channel support at the moment, handle will
* be unbound in tx. So no need to call xen_intr_unbind here,
@@ -765,7 +765,7 @@
xn_release_tx_bufs(txq);
gnttab_free_grant_references(txq->gref_head);
- gnttab_end_foreign_access_ref(txq->ring_ref);
+ gnttab_end_foreign_access(txq->ring_ref, NULL);
xen_intr_unbind(&txq->xen_intr_handle);
}
@@ -877,7 +877,7 @@
fail_start_thread:
buf_ring_free(txq->br, M_DEVBUF);
taskqueue_free(txq->tq);
- gnttab_end_foreign_access_ref(txq->ring_ref);
+ gnttab_end_foreign_access(txq->ring_ref, NULL);
fail_grant_ring:
gnttab_free_grant_references(txq->gref_head);
free(txq->ring.sring, M_DEVBUF);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 14, 5:30 AM (16 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29653983
Default Alt Text
D6608.id17220.diff (1 KB)
Attached To
Mode
D6608: xen-netfront: release grant references used for the shared rings
Attached
Detach File
Event Timeline
Log In to Comment