Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sctp: fix Kconfig bug in default cookie hmac selection

Commit 0d0863b02002 ("sctp: Change defaults on cookie hmac selection")
added a "choice" to the sctp Kconfig file. It introduced a bug which
led to an infinite loop when while running "make oldconfig".

The problem is that the wrong symbol was defined as the default value
for the choice. Using the correct value gets rid of the infinite loop.

Note: if CONFIG_SCTP_COOKIE_HMAC_SHA1=y was present in the input
config file, both that and CONFIG_SCTP_COOKIE_HMAC_MD5=y be present
in the generated config file.

Signed-off-by: Alex Elder <elder@inktank.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alex Elder and committed by
Linus Torvalds
36a25de2 f7763720

+1 -1
+1 -1
net/sctp/Kconfig
··· 68 68 If unsure, say N 69 69 choice 70 70 prompt "Default SCTP cookie HMAC encoding" 71 - default SCTP_COOKIE_HMAC_MD5 71 + default SCTP_DEFAULT_COOKIE_HMAC_MD5 72 72 help 73 73 This option sets the default sctp cookie hmac algorithm 74 74 when in doubt select 'md5'