From: Dan Carpenter <dan.carpen...@oracle.com> Date: Thu, 26 May 2016 09:46:22 +0300
> If we pass ERR_PTR(-EFAULT) to kfree() then it's going to oops. > > Fixes: 2ece068e1b1d ('ptp: use memdup_user().') > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> Applied, thanks.