From: Hengyu Liang <hengyul@cs.unc.edu>
To: netdev@vger.kernel.org
Cc: John Fastabend <john.fastabend@gmail.com>,
Jakub Kicinski <kuba@kernel.org>,
Sabrina Dubroca <sd@queasysnail.net>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Benjamin Coddington <bcodding@hammerspace.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] tls: fix send() returning success after the TCP send failed
Date: Fri, 13 Nov 2026 14:46:20 -0500 [thread overview]
Message-ID: <20261113194620.3830173-1-hengyul@cs.unc.edu> (raw)
In-Reply-To: <179459891623.2168702.5534679656595552608@kernel.org>
Hi,
I found this while comparing the behaviour of different kernel versions:
a send() on a kTLS socket whose TCP socket is in repair mode fails with
EBADMSG on v6.8 but returns the full length on v6.18. Testing
b341ca51d267 and its parent showed the change comes from that commit,
and I then checked the shutdown(SHUT_WR) and reset cases from the
commit message as well.
Thanks,
Hengyu
prev parent reply other threads:[~2026-11-13 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 19:36 Hengyu Liang
2026-11-13 19:41 ` netdev-bot+sinfo
2026-11-13 19:46 ` Hengyu Liang [this message]
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=20261113194620.3830173-1-hengyul@cs.unc.edu \
--to=hengyul@cs.unc.edu \
--cc=bcodding@hammerspace.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sd@queasysnail.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®