Home
last modified time | relevance | path

Searched hist:"0 d87bbd3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/tls/
H A Dtls_strp.c0d87bbd3 Wed Oct 12 17:55:20 CDT 2022 Jakub Kicinski <kuba@kernel.org> tls: strp: make sure the TCP skbs do not have overlapping data

TLS tries to get away with using the TCP input queue directly.
This does not work if there is duplicated data (multiple skbs
holding bytes for the same seq number range due to retransmits).
Check for this condition and fall back to copy mode, it should
be rare.

Fixes: 84c61fe1a75b ("tls: rx: do not use the standard strparser")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>