On Mon, Apr 8, 2013 at 9:44 AM, Eric Dumazet <[email protected]> wrote:
> Am empty page in the frag list ? You mean a frag with a zero length ?
Yep... the code would do
skb_fill_page_desc(skb, 0, page, 0, PAGE_SIZE);
but then later on it did the equivalent of
skb_frag_size_set(frag, 0);
skb->truesize += PAGE_SIZE;
and somehow when data is flowing both directions with small packets,
that would lead the RX-side handling to return corrupt data to
userspace.
Not sure if it's worth figuring this out entirely ... the more
efficient way for ipoib to do things is to reuse that page for next
time, not pass it up the stack unused.
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html