summaryrefslogtreecommitdiffstats
path: root/net/rds/tcp_send.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2023-10-30 16:09:53 +1100
committerJakub Kicinski <kuba@kernel.org>2023-10-31 13:11:51 -0700
commitf2fbb908112311423b09cd0d2b4978f174b99585 (patch)
tree72565eaf23145358e51fc6bf19c6320d0ac122c5 /net/rds/tcp_send.c
parente0f9f0e0737f47f643a66c6db158af61818336bc (diff)
downloadlinux-stable-f2fbb908112311423b09cd0d2b4978f174b99585.tar.gz
linux-stable-f2fbb908112311423b09cd0d2b4978f174b99585.tar.bz2
linux-stable-f2fbb908112311423b09cd0d2b4978f174b99585.zip
net: tcp: remove call to obsolete crypto_ahash_alignmask()
linux-next hit the following build error: net/ipv4/tcp_ao.c: In function 'tcp_ao_key_alloc': net/ipv4/tcp_ao.c:1536:13: error: implicit declaration of function 'crypto_ahash_alignmask'; did you mean 'crypto_ahash_alg_name'? [-Werror=implicit-function-declaration] 1536 | if (crypto_ahash_alignmask(tfm) > TCP_AO_KEY_ALIGN) { | ^~~~~~~~~~~~~~~~~~~~~~ | crypto_ahash_alg_name Caused by commit from the crypto tree 0f8660c82b79 ("crypto: ahash - remove crypto_ahash_alignmask") interacting with commit 4954f17ddefc ("net/tcp: Introduce TCP_AO setsockopt()s") from networking. crypto_ahash_alignmask() has been phased out by the former commit, drop the call in networking. Eric confirms that the check is safe to remove and was questionable here in the first place. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/rds/tcp_send.c')
0 files changed, 0 insertions, 0 deletions