]> 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)
commitc694d18c6c30447b1bf93ae583b2671739ada64b
tree0113d9e291e5fcf3d3ba7bd70d7c8ccf9b885e30
parent82b2c5aecbcfd7ad2951f6c3679a47611e77c429
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