diff options
author | Eric Dumazet <edumazet@google.com> | 2018-06-22 06:44:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-22 15:15:59 +0200 |
commit | eb895b632c92a58f0d7bbdbd1c26a47da51ea74a (patch) | |
tree | f33bf6fdf83c7606aa57fd7acf44d32bc705ffc1 /lib/ubsan.c | |
parent | 2d0624c94d5c881bece40dce6eb2f558d3d42593 (diff) | |
download | linux-stable-eb895b632c92a58f0d7bbdbd1c26a47da51ea74a.tar.gz linux-stable-eb895b632c92a58f0d7bbdbd1c26a47da51ea74a.tar.bz2 linux-stable-eb895b632c92a58f0d7bbdbd1c26a47da51ea74a.zip |
net: dccp: switch rx_tstamp_last_feedback to monotonic clock
[ Upstream commit 0ce4e70ff00662ad7490e545ba0cd8c1fa179fca ]
To compute delays, better not use time of the day which can
be changed by admins or malicious programs.
Also change ccid3_first_li() to use s64 type for delta variable
to avoid potential overflows.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Cc: dccp@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/ubsan.c')
0 files changed, 0 insertions, 0 deletions