]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: reduce stack usage when measuring the system time offset
authorRichard Cochran <richardcochran@gmail.com>
Mon, 26 Nov 2012 01:44:35 +0000 (01:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Nov 2012 22:22:14 +0000 (17:22 -0500)
commit30cea82e8c4ba6d97e88109f60b11e0c0009df44
tree0113d9e291e5fcf3d3ba7bd70d7c8ccf9b885e30
parent78f4a8324e16095149a1f0ea78ca6e6966092fb1
ptp: reduce stack usage when measuring the system time offset

This patch removes the large buffer from the stack of the system
offset ioctl and replaces it with a kmalloced buffer.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_chardev.c