提交 29e32ccd 编写于 作者: J Jan Engelhardt 提交者: David S. Miller

[SCTP]: Use menuconfig objects.

Use menuconfigs instead of menus, so the whole menu can be disabled at
once instead of going through all options.
Signed-off-by: NJan Engelhardt <jengelh@gmx.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a6938a1e
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
# SCTP configuration # SCTP configuration
# #
menu "SCTP Configuration (EXPERIMENTAL)" menuconfig IP_SCTP
depends on INET && EXPERIMENTAL
config IP_SCTP
tristate "The SCTP Protocol (EXPERIMENTAL)" tristate "The SCTP Protocol (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL
depends on IPV6 || IPV6=n depends on IPV6 || IPV6=n
select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5 select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5 select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
...@@ -36,9 +34,10 @@ config IP_SCTP ...@@ -36,9 +34,10 @@ config IP_SCTP
If in doubt, say N. If in doubt, say N.
if IP_SCTP
config SCTP_DBG_MSG config SCTP_DBG_MSG
bool "SCTP: Debug messages" bool "SCTP: Debug messages"
depends on IP_SCTP
help help
If you say Y, this will enable verbose debugging messages. If you say Y, this will enable verbose debugging messages.
...@@ -47,7 +46,6 @@ config SCTP_DBG_MSG ...@@ -47,7 +46,6 @@ config SCTP_DBG_MSG
config SCTP_DBG_OBJCNT config SCTP_DBG_OBJCNT
bool "SCTP: Debug object counts" bool "SCTP: Debug object counts"
depends on IP_SCTP
help help
If you say Y, this will enable debugging support for counting the If you say Y, this will enable debugging support for counting the
type of objects that are currently allocated. This is useful for type of objects that are currently allocated. This is useful for
...@@ -59,7 +57,6 @@ config SCTP_DBG_OBJCNT ...@@ -59,7 +57,6 @@ config SCTP_DBG_OBJCNT
choice choice
prompt "SCTP: Cookie HMAC Algorithm" prompt "SCTP: Cookie HMAC Algorithm"
depends on IP_SCTP
default SCTP_HMAC_MD5 default SCTP_HMAC_MD5
help help
HMAC algorithm to be used during association initialization. It HMAC algorithm to be used during association initialization. It
...@@ -86,4 +83,5 @@ config SCTP_HMAC_MD5 ...@@ -86,4 +83,5 @@ config SCTP_HMAC_MD5
advised to use either HMAC-MD5 or HMAC-SHA1. advised to use either HMAC-MD5 or HMAC-SHA1.
endchoice endchoice
endmenu
endif # IP_SCTP
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册