From: Kumar Kartikeya Dwivedi Date: Wed, 15 Jul 2026 09:10:15 +0000 (+0200) Subject: Merge branch 'bpf-sockmap-fix-fionread-for-sockets-without-a-verdict-program' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d8af4e633d3dea7269f2dad724977ce48034fd4;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'bpf-sockmap-fix-fionread-for-sockets-without-a-verdict-program' Mattia Meleleo says: ==================== bpf, sockmap: Fix FIONREAD for sockets without a verdict program Sockets added to a sockmap/sockhash with no stream/skb verdict program attached answer FIONREAD with 0 even when unread data is pending in sk_receive_queue. Fix tcp_bpf_ioctl() to account for the receive queue in that case, and add a selftest. Changes in v3: - Remove unused sk_psock_msg_inq() - Link to v2: https://patch.msgid.link/20260708-fionread-no-verdict-v2-0-29dd293621c7@coralogix.com Changes in v2: - Split the fix and the selftest into separate patches - Use READ_ONCE() to read the verdict program pointers - Link to v1: https://patch.msgid.link/20260707-fionread-no-verdict-v1-1-ce94a72357ec@coralogix.com Signed-off-by: Mattia Meleleo --- ==================== Link: https://patch.msgid.link/20260708-fionread-no-verdict-v3-0-b4ee31b3af53@coralogix.com Signed-off-by: Kumar Kartikeya Dwivedi --- 2d8af4e633d3dea7269f2dad724977ce48034fd4