Page MenuHomeFreeBSD

xen-netfront: release grant references used for the shared rings
ClosedPublic

Authored by royger on May 27 2016, 3:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 5:40 AM
Unknown Object (File)
Sep 10 2025, 5:14 AM
Unknown Object (File)
Sep 8 2025, 12:44 AM
Unknown Object (File)
Sep 5 2025, 7:12 AM
Unknown Object (File)
Aug 15 2025, 4:09 AM
Unknown Object (File)
Jul 27 2025, 6:13 AM
Unknown Object (File)
Jul 25 2025, 10:24 PM
Unknown Object (File)
Jul 24 2025, 3:43 PM
Subscribers

Details

Summary

Just calling gnttab_end_foreign_access_ref doesn't free the references,
instead call gnttab_end_foreign_access with a NULL page argument in order to
have the grant references freed. The code that maps the ring
(xenbus_map_ring) already uses gnttab_grant_foreign_access which takes care
of allocating a grant reference.

Sponsored by: Citrix Systems R&D

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3989
Build 4032: arc lint + arc unit

Event Timeline

royger retitled this revision from to xen-netfront: release grant references used for the shared rings.
royger updated this object.
royger edited the test plan for this revision. (Show Details)
royger added a reviewer: liuw_liuw.name.
This revision was automatically updated to reflect the committed changes.