All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] tcp: deduplicate TCP_SKB_CB(skb)->when
@ 2014-09-05 22:33 Eric Dumazet
  2014-09-05 22:33 ` [PATCH net-next 1/2] tcp: introduce TCP_SKB_CB(skb)->tcp_tw_isn Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eric Dumazet @ 2014-09-05 22:33 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Yuchung Cheng, Neal Cardwell, Eric Dumazet

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()

Its usage in output path is obsolete after usec timestamping.
Lets simplify and clean this.

Eric Dumazet (2):
  tcp: introduce TCP_SKB_CB(skb)->tcp_tw_isn
  tcp: remove TCP_SKB_CB(skb)->when

 include/net/tcp.h        |  8 +++++++-
 net/ipv4/tcp_input.c     |  5 +++--
 net/ipv4/tcp_ipv4.c      |  7 ++++---
 net/ipv4/tcp_minisocks.c |  2 +-
 net/ipv4/tcp_output.c    | 34 +++++++++++++---------------------
 net/ipv4/tcp_timer.c     |  7 +++----
 net/ipv6/tcp_ipv6.c      |  4 ++--
 7 files changed, 33 insertions(+), 34 deletions(-)

-- 
2.1.0.rc2.206.gedb03e5

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-06  0:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05 22:33 [PATCH net-next 0/2] tcp: deduplicate TCP_SKB_CB(skb)->when Eric Dumazet
2014-09-05 22:33 ` [PATCH net-next 1/2] tcp: introduce TCP_SKB_CB(skb)->tcp_tw_isn Eric Dumazet
2014-09-05 22:50   ` Yuchung Cheng
2014-09-05 22:33 ` [PATCH net-next 2/2] tcp: remove TCP_SKB_CB(skb)->when Eric Dumazet
2014-09-05 22:49   ` Yuchung Cheng
2014-09-06  0:49 ` [PATCH net-next 0/2] tcp: deduplicate TCP_SKB_CB(skb)->when David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.