]> git.baikalelectronics.ru Git - kernel.git/commit
net: tcp_probe: also include rcv_wnd next to snd_wnd
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 21 Aug 2013 17:47:58 +0000 (19:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2013 23:19:50 +0000 (16:19 -0700)
commitbf0670baf6edf1fbadb0fccab4098212ea829b3b
tree6035762943affb2540a951189f0e2fdacb1a3aea
parent7a65d9fc63c38fa61bc7bac362ed5722a8326ae7
net: tcp_probe: also include rcv_wnd next to snd_wnd

It is helpful to sometimes know the TCP window sizes of an established
socket e.g. to confirm that window scaling is working or to tweak the
window size to improve high-latency connections, etc etc. Currently the
TCP snooper only exports the send window size, but not the receive window
size. Therefore, also add the receive window size to the end of the
output line.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_probe.c