]> Pileus Git - ~andy/linux/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)
commitc3484c275db5abe88e01a7e1a80932112c9bbf69
tree0113d9e291e5fcf3d3ba7bd70d7c8ccf9b885e30
parentc7ec0badcc54508d3ab052bb425cc677521a89be
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