]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: Fix the devmem sock opts and msgs for parisc
authorPranjal Shrivastava <praan@google.com>
Mon, 24 Mar 2025 07:42:27 +0000 (07:42 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 19:25:37 +0000 (12:25 -0700)
commitfd87b7783802b45cdd261b273e6b2b792823064d
treedd3f2456fcf5b7322c337820731900d31d4c181f
parent1ae1d705a1120e8e0ca41698c5a0fff6f5290bc1
net: Fix the devmem sock opts and msgs for parisc

The devmem socket options and socket control message definitions
introduced in the TCP devmem series[1] incorrectly continued the socket
definitions for arch/parisc.

The UAPI change seems safe as there are currently no drivers that
declare support for devmem TCP RX via PP_FLAG_ALLOW_UNREADABLE_NETMEM.
Hence, fixing this UAPI should be safe.

Fix the devmem socket options and socket control message definitions to
reflect the series followed by arch/parisc.

[1]
https://lore.kernel.org/lkml/20240910171458.219195-10-almasrymina@google.com/

Fixes: 8f0b3cc9a4c10 ("tcp: RX path for devmem TCP")
Signed-off-by: Pranjal Shrivastava <praan@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20250324074228.3139088-1-praan@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/parisc/include/uapi/asm/socket.h