]> git.itanic.dy.fi Git - linux-stable/commit
tls: rx: drop unnecessary arguments from tls_setup_from_iter()
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Apr 2022 18:31:24 +0000 (11:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:38:47 +0000 (14:38 +0000)
commitffc8a2b821414e5781df1d0a6b5c40c361174575
treec1d93aff5c6a802c6e17e50e49f33b564716d4d8
parent1abd49fa1ffb43ef31369cfcfdc9d0409db4ea58
tls: rx: drop unnecessary arguments from tls_setup_from_iter()

[ Upstream commit d4bd88e67666c73cfa9d75c282e708890d4f10a7 ]

sk is unused, remove it to make it clear the function
doesn't poke at the socket.

size_used is always 0 on input and @length on success.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: f7fa16d49837 ("tls: decrement decrypt_pending if no async completion will be called")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/tls/tls_sw.c