Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by netdev-bot+sashiko
Tue, 24 Nov 2026 08:14
Re: [PATCH net-next v6 4/7] tcp: propagate skb_zcopy() uarg in tcp_mtu_probe()
Author: netdev-bot+sashiko
Date: Tue, 24 Nov 2026 08:14
Date: Tue, 24 Nov 2026 08:14
56 lines
10406 bytes
10406 bytes
Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] The commit message for "tcp: propagate skb_zcopy() uarg in tcp_mtu_probe()" says "Verified with the net_core KUnit test suite". -- tcp: propagate skb_zcopy() uarg in tcp_mtu_probe() This commit attaches the source skb's zerocopy uarg to the MTU probe skb in tcp_clone_payload(). It also makes tcp_can_coalesce_send_queue_head() refuse to coalesce skbs whose skb_zcopy() uargs differ. Together these stop the zerocopy completion from reaching userspace while the probe skb still references the user buffers. > This is a pre-existing issue found by manual code inspection and LLM > review; it was not triggered in production. Verified with the net_core > KUnit test suite; not tested on real hardware. [Severity: Low] Is the "Verified with the net_core KUnit test suite" statement accurate for this change? The net_core suite in net/core/net_test.c contains these cases: gso_test_func, ip_tunnel_flags_test_run, netmem_ref_test_page, netmem_ref_test_pp_page, netmem_ref_test_net_iov, netmem_ref_test_release_data, netmem_ref_test_skb_segment, netmem_ref_test_try_coalesce and netmem_ref_test_tcp_devmem_recv. The only TCP case, netmem_ref_test_tcp_devmem_recv, covers the receive side. It queues skbs on sk_receive_queue and calls kernel_recvmsg() with MSG_SOCK_DEVMEM. None of the cases transmit through tcp_write_xmit()->tcp_mtu_probe(). As a result, neither of the static helpers changed here, tcp_can_coalesce_send_queue_head() and tcp_clone_payload(), is ever called. No case sends MSG_ZEROCOPY or other uarg-bearing skbs through TCP either. This is still the case at the end of the series. The two later KUnit patches don't add a test for this path. net_test.c has no references to tcp_mtu_probe, tcp_clone_payload, tcp_can_coalesce_send_queue_head or MSG_ZEROCOPY. Its only skb_zcopy* use is a skb_zcopy_init() in an unrelated skb_zerocopy() rollback test. Could the message say the change was only compile and regression tested? Alternatively, it could cite a MSG_ZEROCOPY test with tcp_mtu_probing enabled that actually reaches tcp_mtu_probe(). -- Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261120201408.3445445-1-almasrymina%40google.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads