Re: Corrupt Network Packets -- 3.17-rc5/rc6

From: David Miller
Date: Mon Sep 22 2014 - 15:07:43 EST


From: Pete Clements <clem@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Sep 2014 14:30:36 -0400 (EDT)

>
> Thanks. Does not patch. Code looks not to be in the rc6 that Linus
> put out. Guess there is more to come. (This is what I believe is
> the segment in rc6 -- at line 2179.)
>
> vp->tx_ring[entry].frag[i+1].addr =
> cpu_to_le32(skb_frag_dma_map(
> &VORTEX_PCI(vp)->dev,
> frag,
> frag->page_offset, frag->size, DMA_TO_DEVICE));

Just simply change the frag->page_offset argument to zero.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/