Re: [PATCH] ptp: use memdup_user().
From: David Miller
Date: Mon May 23 2016 - 17:05:53 EST
From: Muhammad Falak R Wani <falakreyaz@xxxxxxxxx>
Date: Fri, 20 May 2016 17:51:02 +0530
> Use memdup_user to duplicate a memory region from user-space to
> kernel-space, instead of open coding using kmalloc & copy_from_user.
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@xxxxxxxxx>
Applied.