aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2019-06-18 15:06:08 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-19 11:23:13 -0400
commitf71fec47c2df704c7081f946d7e46fe036a4208b (patch)
tree31644496760e3272d55f8248ef49eed16c32ec1d /net/core/net_namespace.c
parentpage_pool: add tracepoints for page_pool with details need by XDP (diff)
downloadlinux-dev-f71fec47c2df704c7081f946d7e46fe036a4208b.tar.xz
linux-dev-f71fec47c2df704c7081f946d7e46fe036a4208b.zip
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 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions