aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorByungchul Park <[email protected]>2025-07-02 05:32:56 +0000
committerJakub Kicinski <[email protected]>2025-07-08 01:40:10 +0000
commitd8bf56a0ca10af7936de8bbdd510c33041dacecc (patch)
treec569b48b8f808821b22401cf46d4c5fbef9e5714 /net/unix/af_unix.c
parentnetmem: use _Generic to cover const casting for page_to_netmem() (diff)
downloadkernel-d8bf56a0ca10af7936de8bbdd510c33041dacecc.tar.gz
kernel-d8bf56a0ca10af7936de8bbdd510c33041dacecc.zip
page_pool: make page_pool_get_dma_addr() just wrap page_pool_get_dma_addr_netmem()
The page pool members in struct page cannot be removed unless it's not allowed to access any of them via struct page. Do not access 'page->dma_addr' directly in page_pool_get_dma_addr() but just wrap page_pool_get_dma_addr_netmem() safely. Signed-off-by: Byungchul Park <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Toke Høiland-Jørgensen <[email protected]> Reviewed-by: Pavel Begunkov <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions