tls: rx: don't keep decrypted skbs on ctx->recv_pkt
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Jul 2022 05:22:27 +0000 (22:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2022 10:24:10 +0000 (11:24 +0100)
commitabb47dc95dc6e551ca79f51d296e77878fafa4d8
tree266fe3294170a5cb5842d89617891d8b2c714d1d
parent008141de8557479289936e21e7ed6bad50d09443
tls: rx: don't keep decrypted skbs on ctx->recv_pkt

Detach the skb from ctx->recv_pkt after decryption is done,
even if we can't consume it.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c