OpenCloudOS-Kernel/net/handshake
Geert Uytterhoeven 6aa445e396 net/handshake: Fix section mismatch in handshake_exit
If CONFIG_NET_NS=n (e.g. m68k/defconfig):

    WARNING: modpost: vmlinux.o: section mismatch in reference: handshake_exit (section: .exit.text) -> handshake_genl_net_ops (section: .init.data)
    ERROR: modpost: Section mismatches detected.

Fix this by dropping the __net_initdata tag from handshake_genl_net_ops.

Fixes: 3b3009ea8a ("net/handshake: Create a NETLINK service for handling handshake requests")
Reported-by: noreply@ellerman.id.au
Closes: http://kisskb.ellerman.id.au/kisskb/buildresult/14912987
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Link: https://lore.kernel.org/r/20230420173723.3773434-1-geert@linux-m68k.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-04-21 20:24:57 -07:00
..
.kunitconfig net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
Makefile net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
genl.c net/handshake: Add a kernel API for requesting a TLSv1.3 handshake 2023-04-19 18:48:48 -07:00
genl.h net/handshake: Add a kernel API for requesting a TLSv1.3 handshake 2023-04-19 18:48:48 -07:00
handshake-test.c net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
handshake.h net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
netlink.c net/handshake: Fix section mismatch in handshake_exit 2023-04-21 20:24:57 -07:00
request.c net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
tlshd.c net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
trace.c