Instead of being forced to use netlink, we want to get (optional) CC
information using a getsockopt() on the socket file handle.

Signed-off-by: Eric Dumazet <eduma...@google.com>
Cc: Yuchung Cheng <ych...@google.com>
Cc: Neal Cardwell <ncardw...@google.com>

Eric Dumazet (2):
  tcp: prepare CC get_info() access from getsockopt()
  tcp: add TCP_CC_INFO socket option

 include/net/tcp.h              |  5 ++++-
 include/uapi/linux/inet_diag.h |  4 ++++
 include/uapi/linux/tcp.h       |  1 +
 net/ipv4/inet_diag.c           |  8 +++++---
 net/ipv4/tcp.c                 | 21 +++++++++++++++++++++
 net/ipv4/tcp_dctcp.c           | 20 ++++++++++----------
 net/ipv4/tcp_illinois.c        | 21 +++++++++++----------
 net/ipv4/tcp_vegas.c           | 19 ++++++++++---------
 net/ipv4/tcp_vegas.h           |  3 ++-
 9 files changed, 68 insertions(+), 34 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to