]> git.hungrycats.org Git - linux/commit
tls: rx: don't store the decryption status in socket context
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Apr 2022 03:38:17 +0000 (20:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:38:47 +0000 (14:38 +0000)
commitde0970d258efa793fd1236a362f0838c9c9d2384
tree405875138e95a0f198cb9f3b81bc124548f43478
parent4c68bf84d1623437483411d9268e9a80d4ee0488
tls: rx: don't store the decryption status in socket context

[ Upstream commit 7dc59c33d62c4520a119051d4486c214ef5caa23 ]

Similar justification to previous change, the information
about decryption status belongs in the skb.

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>
include/net/strparser.h
include/net/tls.h
net/tls/tls_device.c
net/tls/tls_sw.c