tcp: use tcp_jiffies32 to feed tp->lsndtime
Use tcp_jiffies32 instead of tcp_time_stamp to feed tp->lsndtime. 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>
Showing
- include/net/tcp.h 1 addition, 1 deletioninclude/net/tcp.h
- net/ipv4/tcp.c 1 addition, 1 deletionnet/ipv4/tcp.c
- net/ipv4/tcp_cubic.c 1 addition, 1 deletionnet/ipv4/tcp_cubic.c
- net/ipv4/tcp_input.c 2 additions, 2 deletionsnet/ipv4/tcp_input.c
- net/ipv4/tcp_output.c 2 additions, 2 deletionsnet/ipv4/tcp_output.c
- net/ipv4/tcp_timer.c 2 additions, 2 deletionsnet/ipv4/tcp_timer.c
Please register or sign in to comment