]> 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)
commit75b0cb768d42c6975c2408abd52608ff36f949eb
tree6035762943affb2540a951189f0e2fdacb1a3aea
parent828b064b2f1e4895a3968337224d267fa0998c32
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