From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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.carpenter@xxxxxxxxxx> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html