]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix Kconfig bug in default cookie hmac selection
authorAlex Elder <elder@inktank.com>
Mon, 7 Jan 2013 16:47:46 +0000 (10:47 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Jan 2013 17:27:06 +0000 (09:27 -0800)
commite8d927f3e7ba199912de8e754d4a744d09a2265b
tree5f9184354f39e32a100d7762a070d9e949dedde6
parent909cfc7bec9f7b30de4807263759e22db7539159
sctp: fix Kconfig bug in default cookie hmac selection

Commit 26d943548ee9 ("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>
net/sctp/Kconfig