[CRIU] [PATCH] sk-tcp: show rcv_wscale only if TCPI_OPT_WSCALE is set
Pavel Emelyanov
xemul at parallels.com
Tue Apr 2 16:13:49 EDT 2013
On 04/03/2013 12:06 AM, Andrey Vagin wrote:
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
> sk-tcp.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/sk-tcp.c b/sk-tcp.c
> index 9207a86..667a05e 100644
> --- a/sk-tcp.c
> +++ b/sk-tcp.c
> @@ -631,9 +631,10 @@ void show_tcp_stream(int fd, struct cr_options *opt)
> pr_msg("OUT: seq %10u len %10u\n", tse->outq_seq, tse->outq_len);
> pr_msg("OPTS: %#x\n", (int)tse->opt_mask);
> pr_msg("\tmss_clamp %u\n", (int)tse->mss_clamp);
> - if (tse->opt_mask & TCPI_OPT_WSCALE)
> + if (tse->opt_mask & TCPI_OPT_WSCALE) {
> pr_msg("\tsnd wscale %u\n", (int)tse->snd_wscale);
> pr_msg("\trcv wscale %u\n", (int)tse->rcv_wscale);
> + }
> if (tse->opt_mask & TCPI_OPT_TIMESTAMPS)
> pr_msg("\ttimestamps\n");
> if (tse->opt_mask & TCPI_OPT_SACK)
>
refresh your tree please, it doesn't apply any longer
More information about the CRIU
mailing list