[PATCH net-next 2/2] tcp: put a TLV list of TCP stats in error queue

2016-09-06 Thread Francis Y. Yan
also enables receiving timestamp (e.g. by SOF_TIMESTAMPING_SOFTWARE), calling recvfrom() on error queue will return one more control message with a cmsg_type of SCM_OPT_STATS containing the list of TLVs in its cmsg_data. Signed-off-by: Francis Y. Yan <francisy...@gmail.com> Signed-off-by: Y

[PATCH net-next 1/2] tcp: measure rwnd-limited time

2016-09-06 Thread Francis Y. Yan
. Signed-off-by: Francis Y. Yan <francisy...@gmail.com> Signed-off-by: Yuchung Cheng <ych...@google.com> --- include/linux/tcp.h | 5 + include/uapi/linux/tcp.h | 1 + net/ipv4/tcp.c | 9 - net/ipv4/tcp_output.c| 39