]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: MPTCP_HMAC_TEST should depend on MPTCP
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 29 Jan 2020 18:02:24 +0000 (19:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jan 2020 08:55:37 +0000 (09:55 +0100)
commitc10bbdae8b6054c1122b40c10e035f5a2c313e61
treeaca419d0a71749bb7ae46935d18865e2ed57b9f1
parent79b5bc5fa8b440b85059e694a680dab219bd4403
mptcp: MPTCP_HMAC_TEST should depend on MPTCP

As the MPTCP HMAC test is integrated into the MPTCP code, it can be
built only when MPTCP is enabled.  Hence when MPTCP is disabled, asking
the user if the test code should be enabled is futile.

Wrap the whole block of MPTCP-specific config options inside a check for
MPTCP.  While at it, drop the "default n" for MPTCP_HMAC_TEST, as that
is the default anyway.

Fixes: 54a97ccb30a31e54 ("mptcp: move from sha1 (v0) to sha256 (v1)")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/Kconfig