]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add INET dependency on aes crypto for the sake of TCP fastopen.
authorDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2012 18:20:14 +0000 (14:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2012 18:20:14 +0000 (14:20 -0400)
commit0a725de65463eaa1b49e3c3f8985f71ea24db57e
tree4120f69c58124576c43d79a0511737479a916fdd
parente3ae8e2620212549fff95462dcf067e5b0ae5bf7
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 3d87447ede24 ("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 ff8dc4713cfc ("Merge branch
'tcp_fastopen_server'") for today.
====================

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/Kconfig