commit | ebeef4bcccf4681ba3de04fbf3a005f6054f7999 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Nov 27 14:42:00 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 30 13:26:53 2018 -0800 |
tree | eeda8c5023844b0c4dc1f5bb30fd7d7d94a47448 | |
parent | b0e3f1bdf9e7140fd1151af575f468b5827a61e1 [diff] |
tcp: hint compiler about sack flows Tell the compiler that most TCP flows are using SACK these days. There is no need to add the unlikely() clause in tcp_is_reno(), the compiler is able to infer it. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Acked-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>