aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-06-22 06:44:15 -0700
committerDavid S. Miller <davem@davemloft.net>2018-06-23 10:46:44 +0900
commit0ce4e70ff00662ad7490e545ba0cd8c1fa179fca (patch)
tree4959b26fee49e3465efd6d73539b74d459340870 /arch
parentnet: dccp: avoid crash in ccid3_hc_rx_send_feedback() (diff)
downloadlinux-dev-0ce4e70ff00662ad7490e545ba0cd8c1fa179fca.tar.xz
linux-dev-0ce4e70ff00662ad7490e545ba0cd8c1fa179fca.zip
net: dccp: switch rx_tstamp_last_feedback to monotonic clock
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions