Skip to content
Commit b93f5700 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

tls: rx: don't free the output in case of zero-copy



In the future we'll want to reuse the input skb in case of
zero-copy so we shouldn't always free darg.skb. Move the
freeing of darg.skb into the non-zc cases. All cases will
now free ctx->recv_pkt (inside let tls_rx_rec_done()).

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent dd47ed36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment