Skip to content

Commit

Permalink
net: tipc: remove redundant 'bool' from CONFIG_TIPC_{MEDIA_UDP,CRYPTO}
Browse files Browse the repository at this point in the history
The 'bool' is already specified for these options.

The second 'bool' under the help message is redundant.

While I am here, I moved 'default y' above, as it is common to place
the help text last.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Masahiro Yamada authored and David S. Miller committed Feb 7, 2024
1 parent 81f61c1 commit 59d6bcc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions net/tipc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,24 @@ config TIPC_MEDIA_UDP
bool "IP/UDP media type support"
depends on TIPC
select NET_UDP_TUNNEL
default y
help
Saying Y here will enable support for running TIPC over IP/UDP
bool
default y

config TIPC_CRYPTO
bool "TIPC encryption support"
depends on TIPC
select CRYPTO
select CRYPTO_AES
select CRYPTO_GCM
default y
help
Saying Y here will enable support for TIPC encryption.
All TIPC messages will be encrypted/decrypted by using the currently most
advanced algorithm: AEAD AES-GCM (like IPSec or TLS) before leaving/
entering the TIPC stack.
Key setting from user-space is performed via netlink by a user program
(e.g. the iproute2 'tipc' tool).
bool
default y

config TIPC_DIAG
tristate "TIPC: socket monitoring interface"
Expand Down

0 comments on commit 59d6bcc

Please sign in to comment.