summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2014-04-27 15:01:27 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-28 13:28:43 -0400
commitd39a743511cdb80884b4b9cd506fe84b6b08e66e (patch)
tree708d00e333ca4096af001a5ad2b8dfc250f254ab /include
parent5a2b646ffe21e6014314b4d1df040e2553e39a3b (diff)
downloadop-kernel-dev-d39a743511cdb80884b4b9cd506fe84b6b08e66e.zip
op-kernel-dev-d39a743511cdb80884b4b9cd506fe84b6b08e66e.tar.gz
ptp: validate the requested frequency adjustment.
PTP Hardware Clock drivers specify a maximum frequency adjustment that their clocks can accommodate. Normally, user space programs will want to respect the advertised limits. However, no kernel or driver code checks that the dialed frequency offset is within the bounds, and out of range values can lead to surprising results. This patch fixes the issue by rejecting bad values. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud