Thread (23 messages) 23 messages, 4 authors, 2018-11-01

Re: [Intel-wired-lan] [RFC PATCH 1/4] ptp: add PTP_SYS_OFFSET_EXTENDED ioctl

From: Miroslav Lichvar <hidden>
Date: 2018-10-29 21:40:45
Also in: intel-wired-lan

On Fri, Oct 26, 2018 at 03:16:47PM -0700, Vinicius Costa Gomes wrote:
quoted
+	case PTP_SYS_OFFSET_EXTENDED:
+		if (!ptp->info->gettimex64) {
+			err = -EOPNOTSUPP;
+			break;
+		}
+		sysoff_extended = memdup_user((void __user *)arg,
+					      sizeof(*sysoff_extended));
Looks like you forgot to free 'sysoff_extended', no? 
Oh, I did. Thanks for catching that. I'll fix it in the next version.

-- 
Miroslav Lichvar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help