]> Git Repo - linux.git/commit
tcp: add tp->tcp_mstamp field
authorEric Dumazet <[email protected]>
Tue, 25 Apr 2017 17:15:32 +0000 (10:15 -0700)
committerDavid S. Miller <[email protected]>
Wed, 26 Apr 2017 18:44:36 +0000 (14:44 -0400)
commit69e996c58a35db9ca79b3f021a15bcd22202e1c0
treeb01b75a8c41fe86ab2ce1fc88198c4f347268171
parent038a3e858de4e3ddf42c330a22b7efcddbc0a81a
tcp: add tp->tcp_mstamp field

We want to use precise timestamps in TCP stack, but we do not
want to call possibly expensive kernel time services too often.

tp->tcp_mstamp is guaranteed to be updated once per incoming packet.

We will use it in the following patches, removing specific
skb_mstamp_get() calls, and removing ack_time from
struct tcp_sacktag_state.

Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/tcp.h
net/ipv4/tcp_input.c
This page took 0.058711 seconds and 4 git commands to generate.