Ferruh Yigit de480bbf13 kni: fix build with Linux 4.9.x
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@solarflare.com>
Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2019-11-28 14:48:24 +01:00
..
2019-11-26 16:13:14 +01:00
2019-11-15 11:36:27 +01:00
2019-10-12 14:20:21 +02:00
2019-07-19 14:17:11 +02:00
2019-11-08 15:17:05 +01:00
2019-05-04 23:39:23 +02:00
2019-11-08 15:17:05 +01:00
2018-04-11 23:40:40 +02:00
2018-12-19 01:25:56 +01:00
2019-11-15 11:36:27 +01:00
2019-01-20 13:08:50 +01:00