diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-12-22 23:23:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-23 09:54:26 -0800 |
commit | d9f4fbaf7053af43e6c72909c2aff18654717aed (patch) | |
tree | 017b591067952cab3684026a86c6c6eafb7b0dd0 /tools/perf/perf.h | |
parent | f622691c91cd1bb27d03a5caa8a43822572c62bc (diff) | |
download | op-kernel-dev-d9f4fbaf7053af43e6c72909c2aff18654717aed.zip op-kernel-dev-d9f4fbaf7053af43e6c72909c2aff18654717aed.tar.gz |
tcp: cleanup of cwnd initialization in tcp_init_metrics()
Commit 86bcebafc5e7f5 ("tcp: fix >2 iw selection") fixed a case
when congestion window initialization has been mistakenly omitted
by introducing cwnd label and putting backwards goto from the
end of the function.
This makes the code unnecessarily tricky to read and understand
on a first sight.
Shuffle the code around a little bit to make it more obvious.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/perf.h')
0 files changed, 0 insertions, 0 deletions