commit | dca0aaf8472f15836a68bbed8a0ef9ea39e783aa | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Aug 17 07:48:36 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 18 23:27:27 2016 -0700 |
tree | 37be0e35a1db4350a50307ec21c2a24e59a13b7a | |
parent | 53e43f3905f44366acbb5ff6f295d64996fbf6a3 [diff] |
tcp: defer sacked assignment While chasing tcp_xmit_retransmit_queue() kasan issue, I found that we could avoid reading sacked field of skb that we wont send, possibly removing one cache line miss. Very minor change in slow path, but why not ? ;) Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>