]> git.ipfire.org Git - thirdparty/iproute2.git/commit
misc/ss: tcp cwnd should be unsigned
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 22 Sep 2016 08:40:28 +0000 (16:40 +0800)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 22 Sep 2016 23:38:22 +0000 (16:38 -0700)
commitd1f338b31858005b2550da05098d56ea4e8fd401
tree73ac224de9870a5217adf0f29068a9a53d470e7b
parentec75249b141e99b978e6494345d468595f5b829f
misc/ss: tcp cwnd should be unsigned

tcp->snd_cwd is a u32, but ss treats it like a signed int. This may
results in negative bandwidth calculations.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Phil Sutter <phil@nwl.cc>
misc/ss.c