Thus wrote John Belmonte: > Note that if copy_from_user fails, this code leaks memory. Nah, I somehow assumed we don't have to worry after -EFAULT, my bad. Updated patches attached. Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org