]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add ca_state stat in SCM_TIMESTAMPING_OPT_STATS
authorPriyaranjan Jha <priyarjha@google.com>
Sun, 4 Mar 2018 18:38:36 +0000 (10:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 15:40:48 +0000 (10:40 -0500)
commitea2b46fe57036accfe9dc283c11207aea309ec9c
treec459cfe49974d0a1e10840457b4abcd867600403
parentf25977038316459b326728842ad90ccc4302f08d
tcp: add ca_state stat in SCM_TIMESTAMPING_OPT_STATS

This patch adds TCP_NLA_CA_STATE stat into SCM_TIMESTAMPING_OPT_STATS.
It reports ca_state of socket, when timestamp is generated.

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