diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-10-12 15:55:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-14 08:25:26 +0100 |
commit | 0d87bbd39d7fd1135ab9eca672d760470f6508e8 (patch) | |
tree | 409d827f081d6930d6cf17ecfa2de7587be030c7 /net/netrom | |
parent | aae425efdfd1b1d8452260a3cb49344ebf20b1f5 (diff) | |
download | linux-stable-0d87bbd39d7fd1135ab9eca672d760470f6508e8.tar.gz linux-stable-0d87bbd39d7fd1135ab9eca672d760470f6508e8.tar.bz2 linux-stable-0d87bbd39d7fd1135ab9eca672d760470f6508e8.zip |
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>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions