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)
commitb4c1c1d03842e6b24e87e48c07769e105df99985
tree6035762943affb2540a951189f0e2fdacb1a3aea
parentbaf3b3f227e6d2c143a03f03dcbd50b55089eda4
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