Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 798b2cbf authored by David S. Miller's avatar David S. Miller
Browse files

net: Add INET dependency on aes crypto for the sake of TCP fastopen.



Stephen Rothwell says:

====================
After merging the final tree, today's linux-next build (powerpc
ppc44x_defconfig) failed like this:

net/built-in.o: In function `tcp_fastopen_ctx_free':
tcp_fastopen.c:(.text+0x5cc5c): undefined reference to `crypto_destroy_tfm'
net/built-in.o: In function `tcp_fastopen_reset_cipher':
(.text+0x5cccc): undefined reference to `crypto_alloc_base'
net/built-in.o: In function `tcp_fastopen_reset_cipher':
(.text+0x5cd6c): undefined reference to `crypto_destroy_tfm'

Presumably caused by commit 10467163 ("tcp: TCP Fast Open Server -
header & support functions") from the net-next tree.  I assume that some
dependency on the CRYPTO infrastructure is missing.

I have reverted commit 1bed966c ("Merge branch
'tcp_fastopen_server'") for today.
====================

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 54a27924
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -52,6 +52,8 @@ source "net/iucv/Kconfig"


config INET
config INET
	bool "TCP/IP networking"
	bool "TCP/IP networking"
	select CRYPTO
	select CRYPTO_AES
	---help---
	---help---
	  These are the protocols used on the Internet and on most local
	  These are the protocols used on the Internet and on most local
	  Ethernets. It is highly recommended to say Y here (this will enlarge
	  Ethernets. It is highly recommended to say Y here (this will enlarge