tcp: tcp_mtu_probe() is likely to exit early
authorEric Dumazet <edumazet@google.com>
Sat, 3 Dec 2016 19:14:55 +0000 (11:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2016 18:32:23 +0000 (13:32 -0500)
commit12a59abc22d6664f7d3944f625ceefee92de8820
tree1a440d08ebc7f478066b858f5b071beaebe16e0c
parent75eefc6c59fd2c5f1ab95a3a113c217237d12a31
tcp: tcp_mtu_probe() is likely to exit early

Adding a likely() in tcp_mtu_probe() moves its code which used to
be inlined in front of tcp_write_xmit()

We still have a cache line miss to access icsk->icsk_mtup.enabled,
we will probably have to reorganize fields to help data locality.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c