Messages in this thread | | | Date | Thu, 21 Jun 2018 15:01:40 +0900 (KST) | Subject | Re: [PATCH] net: macb: Fix ptp time adjustment for large negative delta | From | David Miller <> |
| |
From: Harini Katakam <harini.katakam@xilinx.com> Date: Wed, 20 Jun 2018 17:04:20 +0530
> When delta passed to gem_ptp_adjtime is negative, the sign is > maintained in the ns_to_timespec64 conversion. Hence timespec_add > should be used directly. timespec_sub will just subtract the negative > value thus increasing the time difference. > > Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Applied and queued up for -stable.
| |