[dpdk-dev] [PATCH] kni: fix build with 4.9.x
Andrew Rybchenko
arybchenko at solarflare.com
Thu Nov 28 14:43:20 CET 2019
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>
Many thanks, it solves build problems for me.
Tested-by: Andrew Rybchenko <arybchenko at solarflare.com>
More information about the dev
mailing list