Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

From: Christoph Hellwig
Date: Mon Apr 18 2016 - 11:17:14 EST


On Mon, Apr 18, 2016 at 02:39:36PM +0000, Eli Cohen wrote:
> Right, I did not suggest this as a patch but just wanted to pinpoint the problematic issue which is that virt_to_page does not give you the correct pointer to the page.

Removing both the virt_to_page + vmap calls would solve the issue
indeed.