tcp: add snd_ssthresh stat in SCM_TIMESTAMPING_OPT_STATS
authorYousuk Seung <ysseung@google.com>
Fri, 16 Mar 2018 17:51:07 +0000 (10:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 19:07:48 +0000 (15:07 -0400)
commit7156d194a0772f733865267e7207e0b08f81b02b
tree55caebc768c4e1b3c9940b9feeaf10a645e22221
parent5dce837944de76b5ba9cff6d2a3ecde6f4838665
tcp: add snd_ssthresh stat in SCM_TIMESTAMPING_OPT_STATS

This patch adds TCP_NLA_SND_SSTHRESH stat into SCM_TIMESTAMPING_OPT_STATS
that reports tcp_sock.snd_ssthresh.

Signed-off-by: Yousuk Seung <ysseung@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Priyaranjan Jha <priyarjha@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tcp.h
net/ipv4/tcp.c