diff options
author | Bui Quang Minh <minhquangbui99@gmail.com> | 2025-05-22 07:01:15 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-05-27 12:46:47 +0300 |
commit | 28fcb4b56f929f4627f3c4c6c6dc61b292b8e55d (patch) | |
tree | c310ddd5b25b8457bc22ac97aeaf2d76ad1de0fe /scripts/lib/kdoc/kdoc_output.py | |
parent | 35a7a2f55504eaf2356de6e213ba9902e9bc5065 (diff) | |
download | linux-28fcb4b56f929f4627f3c4c6c6dc61b292b8e55d.tar.xz |
xsk: add missing virtual address conversion for page
In commit 7ead4405e06f ("xsk: convert xdp_copy_frags_from_zc() to use
page_pool_dev_alloc()"), when converting from netmem to page, I missed a
call to page_address() around skb_frag_page(frag) to get the virtual
address of the page. This commit uses skb_frag_address() helper to fix
the issue.
Fixes: 7ead4405e06f ("xsk: convert xdp_copy_frags_from_zc() to use page_pool_dev_alloc()")
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Link: https://patch.msgid.link/20250522040115.5057-1-minhquangbui99@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions