aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorByungchul Park <[email protected]>2025-07-02 05:32:55 +0000
committerJakub Kicinski <[email protected]>2025-07-08 01:40:10 +0000
commit4369d40da2f28ae1d3caadd4eb5d7b7f49a3776f (patch)
treef0609367a09735739522c10ef2a349684ee97140 /net/unix/af_unix.c
parentpage_pool: rename __page_pool_alloc_pages_slow() to __page_pool_alloc_netmems... (diff)
downloadkernel-4369d40da2f28ae1d3caadd4eb5d7b7f49a3776f.tar.gz
kernel-4369d40da2f28ae1d3caadd4eb5d7b7f49a3776f.zip
netmem: use _Generic to cover const casting for page_to_netmem()
The current page_to_netmem() doesn't cover const casting resulting in trying to cast const struct page * to const netmem_ref fails. To cover the case, change page_to_netmem() to use macro and _Generic. Signed-off-by: Byungchul Park <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Reviewed-by: Toke Høiland-Jørgensen <[email protected]> Reviewed-by: Pavel Begunkov <[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