diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2019-06-18 16:06:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-19 18:23:13 +0300 |
commit | f71fec47c2df704c7081f946d7e46fe036a4208b (patch) | |
tree | 31644496760e3272d55f8248ef49eed16c32ec1d /samples | |
parent | 32c28f7e413981c7dd4a3ad9bbb1151e4b654261 (diff) | |
download | linux-f71fec47c2df704c7081f946d7e46fe036a4208b.tar.xz |
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 <brouer@redhat.com>
Reported-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions