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)
commitc2203cf75ed7dfab8dfc7ac915a726880ee7512f
tree502b28a4374307fe23a75adc34e167fdf7e3cba3
parentd635fbe27ebee0f4b845abe5e9620c9400785a5c
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