Re: [BUG] bpf, sockmap: data left in ingress_msg is dropped without moving copied_seq, and TLS RX then warns
From: Jiayuan Chen
Date: Thu Nov 19 2026 - 00:59:58 EST
On 11/19/26 11:04 AM, Kyuwon Cho wrote:
> Hi John, Jakub, Jakub, Sabrina,
>
> While testing v7.4-rc3 with an LLM-guided test generator that we are
> developing as a research prototype, we found that setting up TLS RX on
> a TCP socket right after it was removed from a sockmap can find the
> socket's receive queue and copied_seq out of step.
> tls_strp_read_sock() sees tcp_inq() > 0, but tcp_recv_skb() finds no
> skb at copied_seq:
Thanks for the report.
We have too many copied_seq bugs in sockmap now, I think we need to rework it.