diff options
author | Eric Dumazet <edumazet@google.com> | 2013-10-10 08:43:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-11 17:48:18 -0400 |
commit | ccdbb6e96beca362db876d820ac1e560ff6d9579 (patch) | |
tree | 1ced2e6547f027d1417cb408142ce10c4f956754 /security | |
parent | 29b67c39dc6e7ec4fdf78c620675de761971cd28 (diff) |
tcp: tcp_transmit_skb() optimizations
1) We need to take a timestamp only for skb that should be cloned.
Other skbs are not in write queue and no rtt estimation is done on them.
2) the unlikely() hint is wrong for receivers (they send pure ACK)
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: MF Nowlan <fitz@cs.yale.edu>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Acked-By: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions