tcp: introduce TCP_SKB_CB(skb)->tcp_tw_isn
authorEric Dumazet <edumazet@google.com>
Fri, 5 Sep 2014 22:33:32 +0000 (15:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 00:49:33 +0000 (17:49 -0700)
commit04317dafd11dd7b0ec19b85f098414abae6ed5f7
tree3e9a5c6b3aea2e8b1f519d031fb0fcfa4af970fb
parent2ba38943ba190eb6a494262003e23187d1b40fb4
tcp: introduce TCP_SKB_CB(skb)->tcp_tw_isn

TCP_SKB_CB(skb)->when has different meaning in output and input paths.

In output path, it contains a timestamp.
In input path, it contains an ISN, chosen by tcp_timewait_state_process()

Lets add a different name to ease code comprehension.

Note that 'when' field will disappear in following patch,
as skb_mstamp already contains timestamp, the anonymous
union will promptly disappear as well.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c