mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
Maintaining a modular IPv6 stack offers image size savings for specific setups, this benefit is outweighed by the architectural burden it imposes on the subsystems on implementation and maintenance. Therefore, drop it. Change CONFIG_IPV6 from tristate to bool. Remove all Kconfig dependencies across the tree that explicitly checked for IPV6=m. In addition, remove MODULE_DESCRIPTION(), MODULE_ALIAS(), MODULE_AUTHOR() and MODULE_LICENSE(). This is also replacing module_init() by device_initcall(). It is not possible to use fs_initcall() as IPv4 does because that creates a race condition on IPv6 addrconf. Finally, modify the default configs from CONFIG_IPV6=m to CONFIG_IPV6=y except for m68k as according to the bloat-o-meter the image is increasing by 330KB~ and that isn't acceptable. Instead, disable IPv6 on this architecture by default. This is aligned with m68k RAM requirements and recommendations [1]. [1] http://www.linux-m68k.org/faq/ram.html Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de> Tested-by: Ricardo B. Marlière <rbm@suse.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> # arm64 Link: https://patch.msgid.link/20260325120928.15848-2-fmancera@suse.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
101 lines
2.5 KiB
Plaintext
101 lines
2.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# RxRPC session sockets
|
|
#
|
|
|
|
config AF_RXRPC
|
|
tristate "RxRPC session sockets"
|
|
depends on INET
|
|
select CRYPTO
|
|
select KEYS
|
|
select NET_UDP_TUNNEL
|
|
help
|
|
Say Y or M here to include support for RxRPC session sockets (just
|
|
the transport part, not the presentation part: (un)marshalling is
|
|
left to the application).
|
|
|
|
These are used for AFS kernel filesystem and userspace utilities.
|
|
|
|
This module at the moment only supports client operations and is
|
|
currently incomplete.
|
|
|
|
See Documentation/networking/rxrpc.rst.
|
|
|
|
if AF_RXRPC
|
|
|
|
config AF_RXRPC_IPV6
|
|
bool "IPv6 support for RxRPC"
|
|
depends on IPV6
|
|
help
|
|
Say Y here to allow AF_RXRPC to use IPV6 UDP as well as IPV4 UDP as
|
|
its network transport.
|
|
|
|
config AF_RXRPC_INJECT_LOSS
|
|
bool "Inject packet loss into RxRPC packet stream"
|
|
help
|
|
Say Y here to inject packet loss by discarding some received and some
|
|
transmitted packets.
|
|
|
|
config AF_RXRPC_INJECT_RX_DELAY
|
|
bool "Inject delay into packet reception"
|
|
depends on SYSCTL
|
|
help
|
|
Say Y here to inject a delay into packet reception, allowing an
|
|
extended RTT time to be modelled. The delay can be configured using
|
|
/proc/sys/net/rxrpc/rxrpc_inject_rx_delay, setting a number of
|
|
milliseconds up to 0.5s (note that the granularity is actually in
|
|
jiffies).
|
|
|
|
config AF_RXRPC_DEBUG
|
|
bool "RxRPC dynamic debugging"
|
|
help
|
|
Say Y here to make runtime controllable debugging messages appear.
|
|
|
|
See Documentation/networking/rxrpc.rst.
|
|
|
|
|
|
config RXKAD
|
|
bool "RxRPC Kerberos security"
|
|
select CRYPTO
|
|
select CRYPTO_MANAGER
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_PCBC
|
|
select CRYPTO_FCRYPT
|
|
help
|
|
Provide kerberos 4 and AFS kaserver security handling for AF_RXRPC
|
|
through the use of the key retention service.
|
|
|
|
See Documentation/networking/rxrpc.rst.
|
|
|
|
config RXGK
|
|
bool "RxRPC GSSAPI security"
|
|
select CRYPTO_KRB5
|
|
select CRYPTO_MANAGER
|
|
select CRYPTO_KRB5ENC
|
|
select CRYPTO_AUTHENC
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_HASH_INFO
|
|
select CRYPTO_HMAC
|
|
select CRYPTO_CMAC
|
|
select CRYPTO_SHA1
|
|
select CRYPTO_SHA256
|
|
select CRYPTO_SHA512
|
|
select CRYPTO_CBC
|
|
select CRYPTO_CTS
|
|
select CRYPTO_AES
|
|
select CRYPTO_CAMELLIA
|
|
help
|
|
Provide the GSSAPI-based RxGK security class for AFS. Keys are added
|
|
with add_key().
|
|
|
|
See Documentation/networking/rxrpc.rst.
|
|
|
|
config RXPERF
|
|
tristate "RxRPC test service"
|
|
help
|
|
Provide an rxperf service tester. This listens on UDP port 7009 for
|
|
incoming calls from the rxperf program (an example of which can be
|
|
found in OpenAFS).
|
|
|
|
endif
|