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 <arybche...@solarflare.com>
> Suggested-by: David Marchand <david.march...@redhat.com>
> Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>

Many thanks, it solves build problems for me.

Tested-by: Andrew Rybchenko <arybche...@solarflare.com>



Reply via email to