Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Stanislav Fomichev
Mon, 23 Nov 2026 17:29
Re: [PATCH net-next v6 5/7] net: kunit: attach net_iov frags to target skbs in unreadable tests
Author: Stanislav Fomichev
Date: Mon, 23 Nov 2026 17:29
Date: Mon, 23 Nov 2026 17:29
16 lines
11838 bytes
11838 bytes
On 11/20, Mina Almasry wrote: > In netmem_ref_test_net_iov(), the target skb passed to skb_shift() has > no fragments and unreadable == 0 while shifting from an unreadable > net_iov skb. In netmem_ref_test_try_coalesce(), subtest 3 manually sets > to->unreadable = 1 on a linear skb with nr_frags == 0, which cannot > occur in real code where skb->unreadable tracks unreadable fragments. > > Give both target skbs an initial net_iov fragment from the same binding > before shifting or coalescing so the tests remain valid once memory > provider compatibility is enforced across skb_shift() and > skb_try_coalesce(). > > Signed-off-by: Mina Almasry <almasrymina@google.com> Acked-by: Stanislav Fomichev <sdf@fomichev.me>
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