linux_dsm_epyc7002/drivers/ptp
Richard Cochran d39a743511 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>
2014-04-28 13:28:43 -04:00
..
Kconfig net: ptp: move PTP classifier in its own file 2014-04-01 16:43:18 -04:00
Makefile supports eg20t ptp clock 2012-03-09 13:55:34 -08:00
ptp_chardev.c ptp: introduce programmable pins. 2014-03-21 14:21:13 -04:00
ptp_clock.c ptp: validate the requested frequency adjustment. 2014-04-28 13:28:43 -04:00
ptp_ixp46x.c ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
ptp_pch.c ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
ptp_private.h ptp: expose the programmable pins via sysfs 2014-03-21 14:21:14 -04:00
ptp_sysfs.c ptp: expose the programmable pins via sysfs 2014-03-21 14:21:14 -04:00