]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: use tcp_jiffies32 to feed tp->snd_cwnd_stamp
authorEric Dumazet <edumazet@google.com>
Tue, 16 May 2017 21:00:04 +0000 (14:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 20:06:01 +0000 (16:06 -0400)
commitaae5628871d141271edcca9072ca3445cedda6e4
tree502b28a4374307fe23a75adc34e167fdf7e3cba3
parent9b186efcf8b16f0fef08a9ea8e96ecde5aa7588d
tcp: use tcp_jiffies32 to feed tp->snd_cwnd_stamp

Use tcp_jiffies32 instead of tcp_time_stamp to feed
tp->snd_cwnd_stamp.

tcp_time_stamp will soon be a litle bit more expensive
than simply reading 'jiffies'.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c
net/ipv4/tcp_metrics.c
net/ipv4/tcp_output.c