All of lore.kernel.org
 help / color / mirror / Atom feed
* Config Loop
@ 2013-01-03 15:57 Alex Elder
  2013-01-03 16:52 ` Neil Horman
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Alex Elder @ 2013-01-03 15:57 UTC (permalink / raw)
  To: linux-sctp

A commit added in the 3.8-rc1 merge window has resulted in
my kernel config entering an infinite loop handling the
"Default SCTP cookie HMAC encoding" option.

    commit 0d0863b02002c25140a1b9e113b81211bcc780e8
    sctp: Change defaults on cookie hmac selection

    http://marc.info/?l=linux-netdev&m\x135553459303505

The problem lies in my config file containing this line:

    CONFIG_SCTP_HMAC_MD5=y

I normally configure my kernel using fixed config file
(occasionally updated) using (roughly) this:

    yes "" | make oldconfig

The result looks like this:

. . .
  DCCP connection probing (NET_DCCPPROBE) [M/n/?] m
*
* The SCTP Protocol (EXPERIMENTAL)
*
The SCTP Protocol (EXPERIMENTAL) (IP_SCTP) [M/y/?] m
  SCTP: Association probing (NET_SCTPPROBE) [M/n/?] m
  SCTP: Debug messages (SCTP_DBG_MSG) [N/y/?] n
  SCTP: Debug object counts (SCTP_DBG_OBJCNT) [N/y/?] n
  Default SCTP cookie HMAC encoding
    1. Enable optional MD5 hmac cookie generation
(SCTP_DEFAULT_COOKIE_HMAC_MD5) (NEW)
    2. Enable optional SHA1 hmac cookie generation
(SCTP_DEFAULT_COOKIE_HMAC_SHA1) (NEW)
    3. Use no hmac alg in SCTP cookie generation
(SCTP_DEFAULT_COOKIE_HMAC_NONE) (NEW)
  choice[1-3?]:   Default SCTP cookie HMAC encoding
    1. Enable optional MD5 hmac cookie generation
(SCTP_DEFAULT_COOKIE_HMAC_MD5) (NEW)
    2. Enable optional SHA1 hmac cookie generation
(SCTP_DEFAULT_COOKIE_HMAC_SHA1) (NEW)
    3. Use no hmac alg in SCTP cookie generation
(SCTP_DEFAULT_COOKIE_HMAC_NONE) (NEW)
  choice[1-3?]:   Default SCTP cookie HMAC encoding
. . .  and so on.

I find that I can correct this with the patch below.
I expect others will bump into the same problem.  In
particular, I notice my Ubuntu config files contain
that same line.

I don't know how best to handle this, but I thought
I would report it in case someone has a good solution.

					-Alex

 arch/x86/configs/autobuild |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/arch/x86/configs/autobuild
=================================--- a/arch/x86/configs/autobuild
+++ b/arch/x86/configs/autobuild
@@ -940,7 +940,7 @@ CONFIG_NET_SCTPPROBE=m
 # CONFIG_SCTP_DBG_OBJCNT is not set
 # CONFIG_SCTP_HMAC_NONE is not set
 # CONFIG_SCTP_HMAC_SHA1 is not set
-CONFIG_SCTP_HMAC_MD5=y
+CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
 CONFIG_RDS=m
 CONFIG_RDS_RDMA=m
 CONFIG_RDS_TCP=m

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-07 17:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 15:57 Config Loop Alex Elder
2013-01-03 16:52 ` Neil Horman
2013-01-03 16:59 ` Alex Elder
2013-01-03 19:06 ` Neil Horman
2013-01-07 16:47 ` Alex Elder
2013-01-07 17:22 ` Neil Horman
2013-01-07 17:49 ` Alex Elder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.