[dpdk-dev] [PATCH] kni: fix build with 4.9.x

David Marchand david.marchand at redhat.com
Thu Nov 28 15:16:00 CET 2019


On Thu, Nov 28, 2019 at 2:43 PM Andrew Rybchenko
<arybchenko at solarflare.com> wrote:
> On 11/28/19 3:15 PM, Ferruh Yigit wrote:
> > The 'get_user_pages_remote()' API is updated in kernel 4.10.0 [1],
> > but the check added as > 4.9.0,
> > this logic is broken for kernels 4.9.x, because they justify
> >> 4.9.0 check but have the old API.
> > Fixing the check as >= 4.10.0
> >
> > [1]
> > commit 5b56d49fc31d ("mm: add locked parameter to get_user_pages_remote()")
> >
> > Fixes: d965af9e8ae1 ("kni: increase kernel version requirement for VA")
> >
> > Reported-by: Andrew Rybchenko <arybchenko at solarflare.com>
> > Suggested-by: David Marchand <david.marchand at redhat.com>
> > Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Tested-by: Andrew Rybchenko <arybchenko at solarflare.com>

Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list