Re: [PATCH net] tls: fix send() returning success after the TCP send failed

From: Hengyu Liang

Date: Fri Nov 13 2026 - 15:47:23 EST


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