]> git.proxmox.com Git - mirror_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:39:08 +0000 (16:39 -0700)
commit77089b583aee6128763a3277bf44d2f5d90f9035
tree0419ededa02c34722d22ce583e6b99c53020e5fe
parent1f4c51c0e477b8c1dd9b567e434aa127d351989a
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