]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: defer sacked assignment
authorEric Dumazet <edumazet@google.com>
Wed, 17 Aug 2016 14:48:36 +0000 (07:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 06:27:27 +0000 (23:27 -0700)
commit0dc7da88469759899d550c39f3a38daa63d8aa10
tree37be0e35a1db4350a50307ec21c2a24e59a13b7a
parent2bf3992baabb442e68204f6bc9898f0297df3a7a
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>
net/ipv4/tcp_output.c