Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
page_pool: make sure struct device is stable
For DMA mapping use-case the page_pool keeps a pointer to the struct device, which is used in DMA map/unmap calls. For our in-flight handling, we also need to make sure that the struct device have not disappeared. This is assured via using get_device/put_device API. Signed-off-by: Jesper Dangaard Brouer <[email protected]> Reported-by: Ivan Khoronzhuk <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information