On 11/11/2016 02:04 AM, Sachin Shukla wrote:
From: "Sachin Shukla" <[email protected]>

There is no need to call kfree() if memdup_user() fails, as no memory
was allocated and the error in the error-valued pointer should be returned.

Applied for 4.10, thanks.

--
Jens Axboe

Reply via email to