All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sabrina Dubroca <sd@queasysnail.net>
To: netdev@vger.kernel.org
Cc: Sabrina Dubroca <sd@queasysnail.net>,
	kuba@kernel.org, jannh@google.com, john.fastabend@gmail.com
Subject: [PATCH net 0/7] tls: misc bugfixes
Date: Tue, 14 Oct 2025 11:16:55 +0200	[thread overview]
Message-ID: <cover.1760432043.git.sd@queasysnail.net> (raw)

Jann Horn reported multiple bugs in kTLS. This series addresses them,
and adds some corresponding selftests for those that are reproducible
(and without failure injection).

Sabrina Dubroca (7):
  tls: trim encrypted message to match the plaintext on short splice
  tls: wait for async encrypt in case of error during latter iterations
    of sendmsg
  tls: always set record_type in tls_process_cmsg
  tls: wait for pending async decryptions if tls_strp_msg_hold fails
  tls: don't rely on tx_work during send()
  selftests: net: tls: add tests for cmsg vs MSG_MORE
  selftests: tls: add test for short splice due to full skmsg

 net/tls/tls_main.c                |  7 +---
 net/tls/tls_sw.c                  | 31 ++++++++++++---
 tools/testing/selftests/net/tls.c | 65 +++++++++++++++++++++++++++++++
 3 files changed, 92 insertions(+), 11 deletions(-)

-- 
2.51.0


             reply	other threads:[~2025-10-14  9:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-14  9:16 Sabrina Dubroca [this message]
2025-10-14  9:16 ` [PATCH net 1/7] tls: trim encrypted message to match the plaintext on short splice Sabrina Dubroca
2025-10-14  9:16 ` [PATCH net 2/7] tls: wait for async encrypt in case of error during latter iterations of sendmsg Sabrina Dubroca
2025-10-14  9:16 ` [PATCH net 3/7] tls: always set record_type in tls_process_cmsg Sabrina Dubroca
2025-10-14  9:16 ` [PATCH net 4/7] tls: wait for pending async decryptions if tls_strp_msg_hold fails Sabrina Dubroca
2025-10-14  9:17 ` [PATCH net 5/7] tls: don't rely on tx_work during send() Sabrina Dubroca
2025-10-14  9:17 ` [PATCH net 6/7] selftests: net: tls: add tests for cmsg vs MSG_MORE Sabrina Dubroca
2025-10-14  9:17 ` [PATCH net 7/7] selftests: tls: add test for short splice due to full skmsg Sabrina Dubroca
2025-10-16  0:50 ` [PATCH net 0/7] tls: misc bugfixes patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1760432043.git.sd@queasysnail.net \
    --to=sd@queasysnail.net \
    --cc=jannh@google.com \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.