]> git.itanic.dy.fi Git - linux-stable/commit
Merge branch 'tls-fixes-for-record-type-handling-with-peek'
authorJakub Kicinski <kuba@kernel.org>
Wed, 21 Feb 2024 22:25:53 +0000 (14:25 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Feb 2024 22:25:54 +0000 (14:25 -0800)
commitf76d5f65805695afc65e4c265bd119b7e2e88442
treecfc173402dd5dcb9f8823bb508263a3fa41c124c
parent136cfaca22567a03bbb3bf53a43d8cb5748b80ec
parent2bf6172632e1d4a6ec7ee7e734d53a43a145f5c6
Merge branch 'tls-fixes-for-record-type-handling-with-peek'

Sabrina Dubroca says:

====================
tls: fixes for record type handling with PEEK

There are multiple bugs in tls_sw_recvmsg's handling of record types
when MSG_PEEK flag is used, which can lead to incorrectly merging two
records:
 - consecutive non-DATA records shouldn't be merged, even if they're
   the same type (partly handled by the test at the end of the main
   loop)
 - records of the same type (even DATA) shouldn't be merged if one
   record of a different type comes in between
====================

Link: https://lore.kernel.org/r/cover.1708007371.git.sd@queasysnail.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>