[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140916.162923.605101746131407931.davem@davemloft.net>
Date: Tue, 16 Sep 2014 16:29:23 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: mroos@...ux.ee, klassert@...hematik.tu-chemnitz.de,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: bisected regression: 3c59x corrupts packets in 3.17-rc5
From: Neil Horman <nhorman@...driver.com>
Date: Tue, 16 Sep 2014 06:17:04 -0400
> I'm guessing the above change has uncovered another bug,
Neil, read your patch carefully, I think it added the bug.
The ->page_offset of the frag gets applied two times.
skb_dma_map_frag() already takes frag->page_offset into consideration,
you then pass it in as the 'offset' argument and it then gets added to
itself to compute th final offset.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists